forked from minetest-mods/mesecons
fix missing code display when after() is involved
This commit is contained in:
parent
f641a0cc9c
commit
1d29037d8b
|
@ -426,7 +426,7 @@ 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")
|
meta:set_string("infotext", "Working Microcontroller\n"..code)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user