From d9dddd1db77a4e283d0b84702c0c339af7517de7 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 12 Sep 2021 20:31:04 +1000 Subject: [PATCH] Add support for item pickups in LMS when g_pickup_items is set to 1 (forced) --- qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc b/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc index dc18b7c90..db5282466 100644 --- a/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc +++ b/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc @@ -348,7 +348,7 @@ MUTATOR_HOOKFUNCTION(lms, FilterItemDefinition) { return false; } - return true; + return (autocvar_g_pickup_items <= 0); // only allow items if explicitly enabled } void lms_extralife(entity this) -- 2.39.2