Skip to content

Commit

Permalink
fix bug with select by set name toggle in #292
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffrey-wu committed Jun 4, 2024
1 parent bd2b5fd commit f9caa62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/multiplayer/TossupRoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ class TossupRoom {
break;

case 'toggle-select-by-set-name':
if (this.isPermanent || this.setList || !this.setList.includes(message.setName)) { break; }
if (this.isPermanent || !this.setList || !this.setList.includes(message.setName)) { break; }

this.sendSocketMessage({
type: 'toggle-select-by-set-name',
Expand Down

0 comments on commit f9caa62

Please sign in to comment.