mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-12 23:54:53 +09:00
Commands on init
This commit is contained in:
1 parent
910c8b192e
commit
0396cb4a94
1 file changed
+1
-1
@@ -107,7 +107,7 @@ function get_commands(rank)
|
||||
end
|
||||
return to_return
|
||||
end
|
||||
Event.register(-1,function() global.commands = Exp_commands end)
|
||||
Event.register(-1,function() global.commands = Exp_commands for _,command in pairs(Exp_commands) do load_command(command) end end)
|
||||
Event.register(defines.events.on_player_joined_game,function() for _,command in pairs(Exp_commands) do load_command(command) end end)
|
||||
--Please Only Edit Above This Line-----------------------------------------------------------
|
||||
return credits
|
||||
Reference in new issue
Block a user