mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-26 09:03:46 +01:00
v1.15.1 Button bug fixed
This commit is contained in:
parent
c5048186d6
commit
1fda93d459
@ -1,6 +1,13 @@
|
|||||||
# Release Notes of the ModPack TechPack [techpack]
|
# 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)
|
## V1.15 (2018-09-15)
|
||||||
|
|
||||||
### Additions
|
### Additions
|
||||||
|
@ -129,7 +129,7 @@ minetest.register_node("smartline:button", {
|
|||||||
|
|
||||||
on_rightclick = function(pos, node, clicker)
|
on_rightclick = function(pos, node, clicker)
|
||||||
local meta = minetest.get_meta(pos)
|
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())
|
meta:set_string("clicker_name", clicker:get_player_name())
|
||||||
switch_on(pos, node)
|
switch_on(pos, node)
|
||||||
end
|
end
|
||||||
|
@ -121,7 +121,7 @@ minetest.register_node("tubelib:button", {
|
|||||||
|
|
||||||
on_rightclick = function(pos, node, clicker)
|
on_rightclick = function(pos, node, clicker)
|
||||||
local meta = minetest.get_meta(pos)
|
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())
|
meta:set_string("clicker_name", clicker:get_player_name())
|
||||||
switch_on(pos, node)
|
switch_on(pos, node)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user