diff options
author | Jordan Irwin <antumdeluge@gmail.com> | 2017-05-18 02:33:56 -0700 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-05-18 05:33:56 -0400 |
commit | 69d994a2a28b435a5cc37528fccce04c44d1d5ba (patch) | |
tree | ca7ca1d2071f3b52ef1646b95c8cfe2c1727e868 /signal_tubes.lua | |
parent | 7d70d79cdac6f44a5409e78e93bbcb419e1c3958 (diff) |
Replace deprecated methods: (#179)
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
Diffstat (limited to 'signal_tubes.lua')
-rw-r--r-- | signal_tubes.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/signal_tubes.lua b/signal_tubes.lua index 3b2653c..a0a8039 100644 --- a/signal_tubes.lua +++ b/signal_tubes.lua @@ -1,5 +1,5 @@ if pipeworks.enable_detector_tube then - local detector_tube_step = 5 * tonumber(minetest.setting_get("dedicated_server_step")) + local detector_tube_step = 5 * tonumber(minetest.settings:get("dedicated_server_step")) pipeworks.register_tube("pipeworks:detector_tube_on", { description = "Detecting Pneumatic Tube Segment on (you hacker you)", inventory_image = "pipeworks_detector_tube_inv.png", |