From cf9b3353bbf3a7c221d406f42691ef3ad3ee6ed3 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Sat, 6 Aug 2022 00:15:23 -0700 Subject: [PATCH] HLMultiplayerRules: mp_allowmonsters is now respected. --- src/server/gamerules_multiplayer.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/gamerules_multiplayer.qc b/src/server/gamerules_multiplayer.qc index 242edff..fe5beda 100644 --- a/src/server/gamerules_multiplayer.qc +++ b/src/server/gamerules_multiplayer.qc @@ -240,7 +240,7 @@ HLMultiplayerRules::ConsoleCommand(NSClientPlayer pp, string cmd) bool HLMultiplayerRules::MonstersSpawn(void) { - return (false); + return (autocvar(mp_allowmonsters, 0)) ? true : false; } void