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