Skip to content

Commit

Permalink
fix GiveEquipmentWeapon
Browse files Browse the repository at this point in the history
  • Loading branch information
Alf21 committed Mar 3, 2019
1 parent dd323cc commit 4c3f43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamemodes/terrortown/gamemode/server/sv_player_ext.lua
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ function plymeta:GiveEquipmentWeapon(cls)
-- that we need its name, and hence his SteamID64.
local tmr = "give_equipment" .. self:UniqueID()

if not IsValid(self) or not self:IsActive() then
if not IsValid(self) or not self:Alive() then
timer.Remove(tmr)

return
Expand Down

0 comments on commit 4c3f43b

Please sign in to comment.