Commit 48821c46a3636b1b79a49400ab9f45f04cd1f0a6

Authored by DarkGod
1 parent b823d5e3

fix going to wilderness

... ... @@ -1204,6 +1204,8 @@ function _M:changeLevelReal(lev, zone, params)
1204 1204 if newx and newy then blocking_actor:move(newx, newy, true)
1205 1205 else blocking_actor:teleportRandom(x, y, 10) end
1206 1206 end
  1207 + self.player:move(x, y, true)
  1208 + self.player.last_wilderness = self.zone.short_name
1207 1209 -- Place the player on the level
1208 1210 else
1209 1211 local x, y = nil, nil
... ...