Skip to content

Commit

Permalink
Changed else if to if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-tieu committed Aug 7, 2024
1 parent bc97e4e commit 6cb0b65
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;
}
else if('roundNumber' in obj) {
if('roundNumber' in obj) {
var lobbyScreen = document.getElementById("lobbyScreen");
var gameScreen = document.getElementById("gameScreen");
var t = obj.roundNumber;
Expand Down

0 comments on commit 6cb0b65

Please sign in to comment.