improve map voting with lower player count dealing with afk'ers

This commit is contained in:
edshot99 2024-11-27 22:41:51 -06:00
parent 9a2c96fc81
commit e8725048bc

View File

@ -6,7 +6,7 @@ local function svotemap()
if ((votemap ~= nil) and (votemap2 ~= nil)) then
local plys = player.GetHumans()
if #plys == 2 then
if #plys == 2 or #plys == 3 then
votemap:SetInt(2)
votemap2:SetInt(2)
elseif #plys <= 1 then