From 4c3f43ba36caf6ee9f8a77b7195c38955e06f06c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alf=20M=C3=BCller?= <4lf-mueller@gmx.de> Date: Sun, 3 Mar 2019 13:09:32 +0100 Subject: [PATCH] fix GiveEquipmentWeapon --- gamemodes/terrortown/gamemode/server/sv_player_ext.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/terrortown/gamemode/server/sv_player_ext.lua b/gamemodes/terrortown/gamemode/server/sv_player_ext.lua index 3bda8f98f7..2692c4159e 100644 --- a/gamemodes/terrortown/gamemode/server/sv_player_ext.lua +++ b/gamemodes/terrortown/gamemode/server/sv_player_ext.lua @@ -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