mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-16 00:24:52 +09:00
Fixed auto promote error
This commit is contained in:
1 parent
4ca1ba5c18
commit
5fd5de65e0
2 files changed
+20
-9
No files matched your search
+2
-2
@@ -715,8 +715,8 @@ end
|
||||
Event.add(Roles.player_role_assigned,role_update)
|
||||
Event.add(Roles.player_role_unassigned,role_update)
|
||||
Event.add(defines.events.on_player_joined_game,role_update)
|
||||
-- Every 5 seconds the auto promote check is preformed
|
||||
Event.on_nth_tick(300,function()
|
||||
-- Every 60 seconds the auto promote check is preformed
|
||||
Event.on_nth_tick(3600,function()
|
||||
local promotes = {}
|
||||
for _,player in pairs(game.connected_players) do
|
||||
for _,role in pairs(Roles.config.roles) do
|
||||
|
||||
Reference in new issue
Block a user