Skip to content

Commit

Permalink
Treat class primaries the same in initial stuff positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT committed Nov 1, 2023
1 parent bb242c1 commit ba9cfc1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mods/ctf/ctf_modebase/player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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+)")
Expand Down

0 comments on commit ba9cfc1

Please sign in to comment.