From 286a22e760b46e8ec1256ce7a4088bc5be784045 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Tue, 10 Jun 2014 01:41:16 +0200
Subject: [PATCH] Fixed the bug that turned the level into half-ascii mode
 after coming out of the Eidolon/Fearscape/Dreamscape after a save&reload

---
 game/modules/tome/data/talents/corruptions/shadowflame.lua | 1 +
 game/modules/tome/data/timed_effects/other.lua             | 1 +
 game/modules/tome/data/zones/eidolon-plane/zone.lua        | 1 +
 3 files changed, 3 insertions(+)

diff --git a/game/modules/tome/data/talents/corruptions/shadowflame.lua b/game/modules/tome/data/talents/corruptions/shadowflame.lua
index e05a93d871..7b33bddbdf 100644
--- a/game/modules/tome/data/talents/corruptions/shadowflame.lua
+++ b/game/modules/tome/data/talents/corruptions/shadowflame.lua
@@ -309,6 +309,7 @@ newTalent{
 			game.level.map:redisplay()
 			game.level.map:recreate()
 			game.uiset:setupMinimap(game.level)
+			game.nicer_tiles:postProcessLevelTilesOnLoad(game.level)
 
 			game.logPlayer(game.player, "#LIGHT_RED#You are brought back from the Fearscape!")
 		end)
diff --git a/game/modules/tome/data/timed_effects/other.lua b/game/modules/tome/data/timed_effects/other.lua
index e4c66c8d5e..f732fc3afa 100644
--- a/game/modules/tome/data/timed_effects/other.lua
+++ b/game/modules/tome/data/timed_effects/other.lua
@@ -1945,6 +1945,7 @@ newEffect{
 			game.level.map:redisplay()
 			game.level.map:recreate()
 			game.uiset:setupMinimap(game.level)
+			game.nicer_tiles:postProcessLevelTilesOnLoad(game.level)
 
 			game.logPlayer(game.player, "#LIGHT_BLUE#You are brought back from the Dreamscape!")
 
diff --git a/game/modules/tome/data/zones/eidolon-plane/zone.lua b/game/modules/tome/data/zones/eidolon-plane/zone.lua
index a5b104be11..2d6c9b8eb4 100644
--- a/game/modules/tome/data/zones/eidolon-plane/zone.lua
+++ b/game/modules/tome/data/zones/eidolon-plane/zone.lua
@@ -168,6 +168,7 @@ return {
 
 			game.logPlayer(game.player, "#LIGHT_RED#You are sent back to the material plane!")
 			game.player:updateMainShader()
+			game.nicer_tiles:postProcessLevelTilesOnLoad(game.level)
 			game:onLevelLoadRun()
 		end)
 	end,
-- 
GitLab