summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-15 18:53:03 +0000
committerJesusaves <cpntb1@ymail.com>2019-05-15 18:53:03 +0000
commitb730adcc033c0d749337c920413b0805b5a7018f (patch)
tree2eae6e68d5ef9389ba5ba20a1e25c028ad6bb976
parent98b3656057c66753144537daad8528750a45cc37 (diff)
downloadserverdata-s20190626.tar.gz
serverdata-s20190626.tar.bz2
serverdata-s20190626.tar.xz
serverdata-s20190626.zip
Fix the broken code using @4144's advise.s20190626
If something is wrong, please blame him instead :innocent:
-rw-r--r--npc/001-2-19/lloyd.txt5
1 files 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;
}