summaryrefslogtreecommitdiff
path: root/npc/functions/dungeon.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-04-28 01:15:11 -0300
committerJesusaves <cpntb1@ymail.com>2022-04-28 01:15:11 -0300
commit18144bb937fde1ab54c2790811faf9d5afe93ac1 (patch)
tree83f9e6d96ffdedf1b87715b3758c4991941c45bb /npc/functions/dungeon.txt
parentd78269e1ea91d037d71dd7458bd0ca95f9c436b4 (diff)
downloadserverdata-18144bb937fde1ab54c2790811faf9d5afe93ac1.tar.gz
serverdata-18144bb937fde1ab54c2790811faf9d5afe93ac1.tar.bz2
serverdata-18144bb937fde1ab54c2790811faf9d5afe93ac1.tar.xz
serverdata-18144bb937fde1ab54c2790811faf9d5afe93ac1.zip
Spice things up :3
Diffstat (limited to 'npc/functions/dungeon.txt')
-rw-r--r--npc/functions/dungeon.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/functions/dungeon.txt b/npc/functions/dungeon.txt
index 9d780c019..0ad6f74e7 100644
--- a/npc/functions/dungeon.txt
+++ b/npc/functions/dungeon.txt
@@ -84,8 +84,10 @@ OnSick:
// Did you left?
.@i=array_find(.sickmap$, getmap());
if (.@i < 0) {
- @sick$="";
- end;
+ if (@forced_sick$ != getmap()) {
+ @sick$="";
+ end;
+ }
}
// First time seeing this