Fix if block for compatibility code.
parent
01cb84ab17
commit
4a2c4ccece
|
@ -185,12 +185,11 @@ hook.Add("Think", "TauntList_DetectUpdate", function()
|
||||||
|
|
||||||
BroadcastUpdate()
|
BroadcastUpdate()
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
-- Tauntpack loader replaces the old table with a new instance whenever it reloads the taunts.
|
-- Tauntpack loader replaces the old table with a new instance whenever it reloads the taunts.
|
||||||
-- This means we can use reference equality to detect changes quickly here.
|
-- This means we can use reference equality to detect changes quickly here.
|
||||||
-- For reference see sv_ph_tauntpack_loader.lua:55-56
|
-- For reference see sv_ph_tauntpack_loader.lua:55-56
|
||||||
if (tauntsTable[TEAM_HUNTERS] ~= GAMEMODE.Hunter_Taunts)
|
else if (tauntsTable[TEAM_HUNTERS] ~= GAMEMODE.Hunter_Taunts)
|
||||||
or (tauntsTable[TEAM_PROPS] ~= GAMEMODE.Prop_Taunts) then
|
or (tauntsTable[TEAM_PROPS] ~= GAMEMODE.Prop_Taunts) then
|
||||||
|
|
||||||
tauntsTable= {}
|
tauntsTable= {}
|
||||||
|
|
Loading…
Reference in New Issue