Skip to content

Commit

Permalink
Fix VS Screen freeze if prev player had no socials but new did
Browse files Browse the repository at this point in the history
  • Loading branch information
Readek committed Feb 14, 2024
1 parent b6b95b9 commit 825d5b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export class PlayerCharacter {
hide() {
this.#charDiv.style.display = "none";
this.#bgEl.style.display = "none";
this.#bgEl.style.animation = "";
}

/** Displays hidden images, fading them in */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class PlayerInfo {
return this.#socials;
}
#setSocials(socials) {
this.#socials = socials;
this.#socials = socials || {};
}

/**
Expand Down

0 comments on commit 825d5b8

Please sign in to comment.