summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-07 10:55:55 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-07 10:55:55 -0700
commit0b84a1dffa3224ada2a07204b64259f2fa15b458 (patch)
treeeba8b5d4b859f817c29a63c027514ae4da106280
parentc6a63cb4d43ab2850a2e6430ec1780349b5374f0 (diff)
Pusher wasn't clearing infotext if nothing was wrong.
-rw-r--r--node_controllers.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_controllers.lua b/node_controllers.lua
index 221b713..6960cbf 100644
--- a/node_controllers.lua
+++ b/node_controllers.lua
@@ -257,6 +257,7 @@ minetest.register_node("digtron:pusher", {
return --Abort
end
+ meta:set_string("infotext", nil)
minetest.sound_play("truck", {gain=1.0, pos=pos})
-- if the player is standing within the array or next to it, move him too.