Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

Commit

Permalink
Fix call to deprecated method ObjectRef:moveto
Browse files Browse the repository at this point in the history
  • Loading branch information
ClobberXD committed Jul 5, 2019
1 parent cf95dea commit 4a2a907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctf/teams.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a2a907

Please sign in to comment.