From: terencehill Date: Sat, 8 Dec 2018 23:06:09 +0000 (+0100) Subject: LMS: forcedly turn sv_ready_restart_after_countdown off as it breaks the game mode... X-Git-Tag: xonotic-v0.8.5~1702 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9ffcba5c6a23bff76240b403474e92430a201c44;p=xonotic%2Fxonotic-data.pk3dir.git LMS: forcedly turn sv_ready_restart_after_countdown off as it breaks the game mode; it closes #2174 --- diff --git a/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc b/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc index 493320cce..6c90ea11e 100644 --- a/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc +++ b/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc @@ -129,6 +129,12 @@ MUTATOR_HOOKFUNCTION(lms, reset_map_players) }); } +MUTATOR_HOOKFUNCTION(lms, ReadLevelCvars) +{ + // incompatible + sv_ready_restart_after_countdown = 0; +} + MUTATOR_HOOKFUNCTION(lms, PutClientInServer) { entity player = M_ARGV(0, entity);