forked from minetest-mods/mesecons
Merge pull request #45 from VanessaE/master
fix missing code display in after() in µC
This commit is contained in:
commit
00d797ae0f
|
@ -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