We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7071045 commit c936c25Copy full SHA for c936c25
public/js/game.ts
@@ -788,7 +788,7 @@ if (["Android", "iOS"].some(v => window.navigator.userAgent.includes(v))) {
788
if (eventData.user.role === -1 && !/[?&]guest=true/.test(window.location.search))
789
return document.location.href = "/login/";
790
791
- if (details.mode === Room.Type.ELIMINATION)
+ if (modeToString(details.mode).toLowerCase() === Room.Type.ELIMINATION)
792
room = new EliminationRoom();
793
else room = new Room();
794
@@ -832,7 +832,7 @@ if (["Android", "iOS"].some(v => window.navigator.userAgent.includes(v))) {
832
room.blobs.push(newBlob);
833
}
834
835
- if (details.mode===Room.Type.ELIMINATION&&room instanceof EliminationRoom) {
+ if (room instanceof EliminationRoom) {
836
room.state = eventData.state;
837
room.createdAt = eventData.roomCreatedAt;
838
EliminationRoom.waitingTime = eventData.waitingTime;
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments