Check for netplay name too

This commit is contained in:
Ethan O'Brien 2023-07-22 11:44:40 -05:00
parent 1c20818a3c
commit d436aace40

View file

@ -3102,7 +3102,7 @@ class EmulatorJS {
this.openNetplayMenu = () => {
this.netplayMenu.style.display = "";
if (!this.netplay) {
if (!this.netplay || (this.netplay && !this.netplay.name)) {
this.netplay = {};
this.netplay.table = tbody;
this.netplay.playerTable = tbody2;