From ba9cfc1107daefc8e96f8ee1cb90deaedf155174 Mon Sep 17 00:00:00 2001 From: LoneWolfHT Date: Wed, 1 Nov 2023 16:48:06 -0700 Subject: [PATCH] Treat class primaries the same in initial stuff positioning --- mods/ctf/ctf_modebase/player.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mods/ctf/ctf_modebase/player.lua b/mods/ctf/ctf_modebase/player.lua index e8e91af728..687e986a5c 100644 --- a/mods/ctf/ctf_modebase/player.lua +++ b/mods/ctf/ctf_modebase/player.lua @@ -11,6 +11,12 @@ local simplify_for_saved_stuff = function(iname) return "shovel" elseif iname:match("ctf_mode_nade_fight:") then return "nade_fight_grenade" + elseif + iname == "ctf_mode_classes:knight_sword" or + iname == "ctf_mode_classes:support_bandage" or + iname == "ctf_mode_classes:ranged_rifle_loaded" + then + return "class_primary" end local mod, match = iname:match("(%a+):sword_(%a+)")