mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-11-05 06:53:44 +01:00
commit
544dfb9e0b
@ -426,7 +426,11 @@ function yc_command_after_execute(params)
|
|||||||
if yc_parsecode(params.code, params.pos) == nil then
|
if yc_parsecode(params.code, params.pos) == nil then
|
||||||
meta:set_string("infotext", "Code in after() not valid!")
|
meta:set_string("infotext", "Code in after() not valid!")
|
||||||
else
|
else
|
||||||
meta:set_string("infotext", "Working Microcontroller\n"..code)
|
if code ~= nil then
|
||||||
|
meta:set_string("infotext", "Working Microcontroller\n"..code)
|
||||||
|
else
|
||||||
|
meta:set_string("infotext", "Working Microcontroller")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user