From b730adcc033c0d749337c920413b0805b5a7018f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 15 May 2019 18:53:03 +0000 Subject: Fix the broken code using @4144's advise. If something is wrong, please blame him instead :innocent: --- npc/001-2-19/lloyd.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/npc/001-2-19/lloyd.txt b/npc/001-2-19/lloyd.txt index 4120c502..fc17cc4f 100644 --- a/npc/001-2-19/lloyd.txt +++ b/npc/001-2-19/lloyd.txt @@ -240,7 +240,8 @@ OnPCLoginEvent: BankVault += max(0, #MerchantBank); #MerchantBank = 0; } -// if (getmap() ~= "*-3-*") -// updateSpotlight(); + // If you're inside a cave, update spotlights + if (strpos(getmap(), "-3-") >= 0) + updateSpotlight(); end; } -- cgit v1.2.3-60-g2f50