mirror of
https://github.com/minetest-mods/digtron.git
synced 2024-12-22 20:32:22 +01:00
Pusher wasn't clearing infotext if nothing was wrong.
This commit is contained in:
parent
c6a63cb4d4
commit
0b84a1dffa
@ -257,6 +257,7 @@ minetest.register_node("digtron:pusher", {
|
|||||||
return --Abort
|
return --Abort
|
||||||
end
|
end
|
||||||
|
|
||||||
|
meta:set_string("infotext", nil)
|
||||||
minetest.sound_play("truck", {gain=1.0, pos=pos})
|
minetest.sound_play("truck", {gain=1.0, pos=pos})
|
||||||
|
|
||||||
-- if the player is standing within the array or next to it, move him too.
|
-- if the player is standing within the array or next to it, move him too.
|
||||||
|
Loading…
Reference in New Issue
Block a user