mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 20:16:38 +09:00
Few Updates
This commit is contained in:
@@ -12,7 +12,7 @@ local function get_allowed_afk_time(player)
|
||||
if Role then role = Role.get_highest(player)
|
||||
else if player.admin then return else role = Role.meta.default end end
|
||||
local count = #game.connected_players
|
||||
local base = role.index or false
|
||||
local base = not role.allow_afk_kick and role.index or false
|
||||
if not base then return false end
|
||||
return (Role.meta.count/base)*count
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user