diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-15 18:53:03 +0000 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-15 18:53:03 +0000 |
commit | b730adcc033c0d749337c920413b0805b5a7018f (patch) | |
tree | 2eae6e68d5ef9389ba5ba20a1e25c028ad6bb976 /npc/001-2-19 | |
parent | 98b3656057c66753144537daad8528750a45cc37 (diff) | |
download | serverdata-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:
Diffstat (limited to 'npc/001-2-19')
-rw-r--r-- | npc/001-2-19/lloyd.txt | 5 |
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; } |