]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
LMS: forcedly turn sv_ready_restart_after_countdown off as it breaks the game mode...
authorterencehill <piuntn@gmail.com>
Sat, 8 Dec 2018 23:06:09 +0000 (00:06 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 8 Dec 2018 23:06:09 +0000 (00:06 +0100)
qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc

index 493320ccebc695ac5e9a3b9276f8166e6587e844..6c90ea11eb756e3b07ee40010f8085f65edf6e6b 100644 (file)
@@ -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);