Skip to content
Snippets Groups Projects
Commit 78b16854 authored by DarkGod's avatar DarkGod
Browse files

weird

parent 7dc4d49d
No related branches found
No related tags found
No related merge requests found
......@@ -348,6 +348,11 @@ newTalent{
game.uiset:setupMinimap(game.level)
game.nicer_tiles:postProcessLevelTilesOnLoad(game.level)
if game.level.map:checkEntity(game.player.x, game.player.y, Map.TERRAIN, "block_move") then
-- Emergency teleport in case we somehow end up in a wall
game.player:teleportRandom(math.floor(game.level.map.w / 2), math.floor(game.level.map.h / 2), 100)
end
game.logPlayer(game.player, "#LIGHT_RED#You are brought back from the Fearscape!")
end)
......
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