update deprecated functions
This commit is contained in:
parent
49e1469bf4
commit
e102e52cff
2
init.lua
2
init.lua
@ -153,7 +153,7 @@ minetest.register_globalstep(function(dtime)
|
|||||||
|
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
if aviation[name] ~= nil and aviation[name] ~= {} then
|
if aviation[name] ~= nil and aviation[name] ~= {} then
|
||||||
local pos = player:getpos()
|
local pos = player:get_pos()
|
||||||
local ntime = minetest.get_node_timer(aviation[name])
|
local ntime = minetest.get_node_timer(aviation[name])
|
||||||
local timeout = ntime:get_timeout()
|
local timeout = ntime:get_timeout()
|
||||||
local elapsed = ntime:get_elapsed()
|
local elapsed = ntime:get_elapsed()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user