Fix controller stop command bug
This commit is contained in:
parent
d8caf09cf7
commit
d5c63a8e56
@ -398,6 +398,7 @@ end
|
||||
local function call_loop(pos, meta, elapsed)
|
||||
local t = minetest.get_us_time()
|
||||
local number = meta:get_string("number")
|
||||
if meta:get_int("running") == STATE_RUNNING then
|
||||
if Cache[number] or compile(pos, meta, number) then
|
||||
local cpu = meta:get_int("cpu") or 0
|
||||
local code = Cache[number].code
|
||||
@ -419,6 +420,7 @@ local function call_loop(pos, meta, elapsed)
|
||||
end
|
||||
return res
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user