Skip to content

Commit

Permalink
Revision 22/05/2024-minorfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzuerio committed May 22, 2024
1 parent 76b1c4e commit 0438693
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions gamemodes/prop_hunt/gamemode/sh_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -777,20 +777,15 @@ local function InitializeConfig()
end
hook.Add("Initialize", "PHX.InitializeTaunts", InitializeConfig)

--TODO: FIX ME
--TODO: FIX ME
hook.Add("InitPostEntity", "PHX.SetDefaultTaunt", function()
if not PHX:QCVar( "ph_include_default_taunt" ) then
-- Temporary Workaround, pls fix: this has be delayed because of taunt menu window
timer.Simple(1, function()
if table.IsEmpty(PHX.TAUNTS) then
TAUNT_FALLBACK = true;
end
end)
if table.IsEmpty(PHX.TAUNTS) then
TAUNT_FALLBACK = true; // this may gets overriden from sh_tauntscanner.lua@256 if there are no PHX.CustomTaunts present.
end
end
end)
--TODO: FIX ME
--TODO: FIX ME

-- AAAAAAARGGHHHHHH
if CLIENT then
Expand Down

0 comments on commit 0438693

Please sign in to comment.