Skip to content

Commit

Permalink
update deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
berengma committed Mar 24, 2019
1 parent 49e1469 commit e102e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ minetest.register_globalstep(function(dtime)

local name = player:get_player_name()
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 timeout = ntime:get_timeout()
local elapsed = ntime:get_elapsed()
Expand Down

0 comments on commit e102e52

Please sign in to comment.