Commit 420ab4ea authored by nanahira's avatar nanahira

Merge branch 'master' into koishi

parents 364a333b d5e4fd1f
Pipeline #17890 passed with stages
in 8 minutes and 28 seconds
......@@ -1492,7 +1492,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
......
......@@ -1932,7 +1932,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