Check for netplay name too

This commit is contained in:
Ethan O'Brien 2023-07-22 11:44:40 -05:00
parent 9d19a33cd4
commit 4e119640e6
2 changed files with 2 additions and 2 deletions

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;

File diff suppressed because one or more lines are too long