From 515afcb0a8b16bdb7f060dcef393753ced0bbda1 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Mon, 10 Dec 2012 12:13:19 +0000 Subject: [PATCH] fix git-svn-id: http://svn.net-core.org/repos/t-engine4@6035 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/wda/eyal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/modules/tome/data/wda/eyal.lua b/game/modules/tome/data/wda/eyal.lua index 798eb4352f..377440085c 100644 --- a/game/modules/tome/data/wda/eyal.lua +++ b/game/modules/tome/data/wda/eyal.lua @@ -44,7 +44,7 @@ if zone == "Maj'Eyal" then -- Spawn random encounters local g = game.level.map(game.player.x, game.player.y, Map.TERRAIN) - if g and g.can_encounter then + if g and g.can_encounter and not game.player.no_worldmap_encounter then local type = encounter_chance(game.player) if type then game.level:setEntitiesList("maj_eyal_encounters_rng", game.zone:computeRarities("maj_eyal_encounters_rng", game.level:getEntitiesList("maj_eyal_encounters"), game.level, nil)) -- GitLab