Commit d5e4fd1f authored by nanahira's avatar nanahira

fix

parent 8fa1a874
Pipeline #17889 passed with stages
in 8 minutes and 50 seconds
......@@ -1324,7 +1324,7 @@ class Room
@hostinfo.replay_mode |= 0x1
if (settings.modules.tournament_mode.enabled and settings.modules.tournament_mode.block_replay_to_player) or (@hostinfo.mode == 1 and settings.modules.replay_delay) # 0x2: Block the replays to observers
@hostinfo.replay_mode |= 0x2
if settings.modules.tournament_mode.enabled or room.arena # 0x4: Save chat in cloud replay
if settings.modules.tournament_mode.enabled or @arena # 0x4: Save chat in cloud replay
@hostinfo.replay_mode |= 0x4
if !@recovered
......
......@@ -1725,7 +1725,7 @@
if ((settings.modules.tournament_mode.enabled && settings.modules.tournament_mode.block_replay_to_player) || (this.hostinfo.mode === 1 && settings.modules.replay_delay)) { // 0x2: Block the replays to observers
this.hostinfo.replay_mode |= 0x2;
}
if (settings.modules.tournament_mode.enabled || room.arena) { // 0x4: Save chat in cloud replay
if (settings.modules.tournament_mode.enabled || this.arena) { // 0x4: Save chat in cloud replay
this.hostinfo.replay_mode |= 0x4;
}
if (!this.recovered) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment