v1.15.1 Button bug fixed

This commit is contained in:
Joachim Stolberg 2018-09-17 22:13:52 +02:00
parent c5048186d6
commit 1fda93d459
3 changed files with 9 additions and 2 deletions

@ -1,6 +1,13 @@
# Release Notes of the ModPack TechPack [techpack]
## V1.15.1 (2018-09-17)
### Fixes
- Button bug (detected in the video of Nathan) fixed
## V1.15 (2018-09-15)
### Additions

@ -129,7 +129,7 @@ minetest.register_node("smartline:button", {
on_rightclick = function(pos, node, clicker)
local meta = minetest.get_meta(pos)
if meta:get_string("numbers") then
if meta:get_string("numbers") ~= "" then
meta:set_string("clicker_name", clicker:get_player_name())
switch_on(pos, node)
end

@ -121,7 +121,7 @@ minetest.register_node("tubelib:button", {
on_rightclick = function(pos, node, clicker)
local meta = minetest.get_meta(pos)
if meta:get_string("numbers") then
if meta:get_string("numbers") ~= "" then
meta:set_string("clicker_name", clicker:get_player_name())
switch_on(pos, node)
end