diff --git a/sv_lsft.txt b/sv_lsft.txt index b0369b9..2461512 100644 --- a/sv_lsft.txt +++ b/sv_lsft.txt @@ -349,7 +349,9 @@ end -- Get's a player's entity by searching for it via an inputted string function core:get_entity(ply) - if type(ply) == "Player" then + if ply == nil then + return nil + elseif type(ply) == "Player" then return ply elseif ply == "^" then return owner()