From f9c12c63b3c95e098f6192a927692f987b177857 Mon Sep 17 00:00:00 2001 From: JetBoom Date: Fri, 21 Nov 2014 02:24:24 -0500 Subject: [PATCH] Fix typo in GetNailOwner --- gamemodes/zombiesurvival/gamemode/obj_entity_extend_sv.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/zombiesurvival/gamemode/obj_entity_extend_sv.lua b/gamemodes/zombiesurvival/gamemode/obj_entity_extend_sv.lua index f2b3c98..054af62 100644 --- a/gamemodes/zombiesurvival/gamemode/obj_entity_extend_sv.lua +++ b/gamemodes/zombiesurvival/gamemode/obj_entity_extend_sv.lua @@ -367,7 +367,7 @@ end local function GetNailOwner(nail, filter) for _, ent in pairs(ents.GetAll()) do - if ent and ent ~= filter and ent.Nails and ent:isValid() then + if ent and ent ~= filter and ent.Nails and ent:IsValid() then for __, n in pairs(ent.Nails) do if n == nail then return ent