diff options
Diffstat (limited to 'builtin/game/static_spawn.lua')
-rw-r--r-- | builtin/game/static_spawn.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/static_spawn.lua b/builtin/game/static_spawn.lua index 2a5d9b1fa..fae23eab0 100644 --- a/builtin/game/static_spawn.lua +++ b/builtin/game/static_spawn.lua @@ -15,7 +15,7 @@ local function put_player_in_spawn(player_obj) end core.log("action", "Moving " .. player_obj:get_player_name() .. " to static spawnpoint at " .. core.pos_to_string(static_spawnpoint)) - player_obj:setpos(static_spawnpoint) + player_obj:set_pos(static_spawnpoint) return true end |