Skip to content

Commit

Permalink
Revert if statement to else if
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-tieu committed Aug 7, 2024
1 parent 6cb0b65 commit 54d8148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ connection.onmessage = function (evt) {
id = obj.playerID;
conn = obj.conn;
}
if('roundNumber' in obj) {
else if('roundNumber' in obj) {
var lobbyScreen = document.getElementById("lobbyScreen");
var gameScreen = document.getElementById("gameScreen");
var t = obj.roundNumber;
Expand Down

0 comments on commit 54d8148

Please sign in to comment.