From c8bb54a9bc5e2737392e4b22a652f391872ed05a Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 16 Nov 2024 17:42:15 +1000 Subject: [PATCH] Filter mutator blocked weapons from the weapon arena selection menu --- qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc index 20f72863e..337f10e0c 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc @@ -166,6 +166,8 @@ void XonoticMutatorsDialog_fill(entity me) w = REGISTRY_GET(Weapons, i); if (w.spawnflags & (WEP_FLAG_HIDDEN | WEP_FLAG_SPECIALATTACK)) continue; + if (w.spawnflags & WEP_FLAG_MUTATORBLOCKED) + continue; if ((j % 3) == 0) { me.TR(me); -- 2.39.2