forked from mtcontrib/markers
replaced deprecated getpos function
This commit is contained in:
parent
ad3c999f64
commit
d2091badd7
@ -478,7 +478,7 @@ end
|
|||||||
markers.form_input_handler_areas = function( player, formname, fields)
|
markers.form_input_handler_areas = function( player, formname, fields)
|
||||||
|
|
||||||
local pname = player:get_player_name();
|
local pname = player:get_player_name();
|
||||||
local ppos = player:getpos()
|
local ppos = player:get_pos()
|
||||||
|
|
||||||
if( formname ~= "markers:info"
|
if( formname ~= "markers:info"
|
||||||
or not( player )
|
or not( player )
|
||||||
|
Loading…
Reference in New Issue
Block a user