Fix call to deprecated method ObjectRef:moveto
This commit is contained in:
parent
cf95dea033
commit
4a2a907bd1
@ -400,7 +400,7 @@ function ctf.move_to_spawn(name)
|
|||||||
if ctf.team(tplayer.team) then
|
if ctf.team(tplayer.team) then
|
||||||
local spawn = ctf.get_spawn(tplayer.team)
|
local spawn = ctf.get_spawn(tplayer.team)
|
||||||
if spawn then
|
if spawn then
|
||||||
player:moveto(spawn, false)
|
player:move_to(spawn, false)
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user