From 641d84255579f8e82951226bbea91c4b5211e2c9 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Mon, 20 Sep 2010 22:32:12 +0000
Subject: [PATCH] fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@1266 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/dialogs/MapMenu.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/game/modules/tome/dialogs/MapMenu.lua b/game/modules/tome/dialogs/MapMenu.lua
index 50f65d7a47..e4a4d8f036 100644
--- a/game/modules/tome/dialogs/MapMenu.lua
+++ b/game/modules/tome/dialogs/MapMenu.lua
@@ -104,8 +104,8 @@ function _M:generateList()
 	if self.on_player and (player.unused_stats > 0 or player.unused_talents > 0 or player.unused_generics > 0 or player.unused_talents_types > 0) then list[#list+1] = {name="Levelup!", action="levelup", color=colors.simple(colors.YELLOW)} end
 
 	-- Talents
-	if self.zone and not self.zone.wilderness then
-	       local tals = {}
+	if game.zone and not game.zone.wilderness then
+		local tals = {}
 		for tid, _ in pairs(player.talents) do
 			local t = player:getTalentFromId(tid)
 			if t.mode ~= "passive" and player:preUseTalent(t, true, true) and not player:isTalentCoolingDown(t) then
-- 
GitLab