Fix if block for compatibility code.

master
Icedream 2015-04-24 21:50:04 +02:00
parent 01cb84ab17
commit 4a2c4ccece
1 changed files with 1 additions and 2 deletions

View File

@ -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= {}