Skip to content
Snippets Groups Projects
Commit 48821c46 authored by DarkGod's avatar DarkGod
Browse files

fix going to wilderness

parent b823d5e3
No related branches found
No related tags found
No related merge requests found
......@@ -1204,6 +1204,8 @@ function _M:changeLevelReal(lev, zone, params)
if newx and newy then blocking_actor:move(newx, newy, true)
else blocking_actor:teleportRandom(x, y, 10) end
end
self.player:move(x, y, true)
self.player.last_wilderness = self.zone.short_name
-- Place the player on the level
else
local x, y = nil, nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment