aboutsummaryrefslogtreecommitdiff
path: root/gamemode/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/init.lua')
-rw-r--r--gamemode/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/init.lua b/gamemode/init.lua
index 38e49a9..82cac7f 100644
--- a/gamemode/init.lua
+++ b/gamemode/init.lua
@@ -50,7 +50,7 @@ end
function GM:PlayerInitialSpawn(pl)
if (!self.CountDown and #player.GetAll() > 1) then self:StartCountDown() end
- if(#GetAllHumans() == 1) then
+ if(#player.GetAllHumans() == 1) then
pl:SetHuman(true)
else
pl:SetHuman(false)