mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Fixed that bug finnaly
This commit is contained in:
@@ -84,7 +84,7 @@ Event.register(defines.events.on_tick, function(event)
|
||||
local args = {}
|
||||
-- retrives and temp varibles
|
||||
for n,value in pairs(command.args) do
|
||||
if type(value) == 'list' and value.sudo == 'sudo-temp-var' then args[n] = global.sudo.temp_varibles[value.name].data
|
||||
if type(value) == 'table' and not value.__self and value.sudo and value.sudo == 'sudo-temp-var' then args[n] = global.sudo.temp_varibles[value.name].data
|
||||
else args[n] = value end
|
||||
end
|
||||
-- makes new temp value and runs command
|
||||
|
||||
Reference in New Issue
Block a user