mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
Covnerted Event and Global
This commit is contained in:
@@ -14,7 +14,7 @@ local module_verbose = false
|
||||
local ThisModule = {}
|
||||
|
||||
-- Event Handlers Define
|
||||
script.on_event(defines.events.on_console_command,function(event)
|
||||
Event.add(defines.events.on_console_command,function(event)
|
||||
local command = event.command
|
||||
local args = {}
|
||||
if event.parameters then for word in event.parameters:gmatch('%S+') do table.insert(args,word) end end
|
||||
|
||||
Reference in New Issue
Block a user