From 4a2a907bd17434ad6b5900064b33a357a06a3bae Mon Sep 17 00:00:00 2001 From: ANAND Date: Fri, 5 Jul 2019 16:12:14 +0530 Subject: [PATCH] Fix call to deprecated method ObjectRef:moveto --- ctf/teams.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctf/teams.lua b/ctf/teams.lua index 6480011..f629c35 100644 --- a/ctf/teams.lua +++ b/ctf/teams.lua @@ -400,7 +400,7 @@ function ctf.move_to_spawn(name) if ctf.team(tplayer.team) then local spawn = ctf.get_spawn(tplayer.team) if spawn then - player:moveto(spawn, false) + player:move_to(spawn, false) return true end end