summaryrefslogtreecommitdiff
path: root/npc/003-1-1/treasure.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-16 23:18:20 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-16 23:18:20 -0300
commitcd928385d26a8e3b99543711ec601738c6e50bac (patch)
treef78189fdb23f6cd3c41b8b31b1b12fe255160e38 /npc/003-1-1/treasure.txt
parentea406ac0a4dbe92e02fd75ff24c242e656f35ba8 (diff)
downloadserverdata-cd928385d26a8e3b99543711ec601738c6e50bac.tar.gz
serverdata-cd928385d26a8e3b99543711ec601738c6e50bac.tar.bz2
serverdata-cd928385d26a8e3b99543711ec601738c6e50bac.tar.xz
serverdata-cd928385d26a8e3b99543711ec601738c6e50bac.zip
Fix bugs on treasure chests, like animation not playing, missing return(), and
also bad ident
Diffstat (limited to 'npc/003-1-1/treasure.txt')
-rw-r--r--npc/003-1-1/treasure.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/npc/003-1-1/treasure.txt b/npc/003-1-1/treasure.txt
index ead0cfeaa..59c236453 100644
--- a/npc/003-1-1/treasure.txt
+++ b/npc/003-1-1/treasure.txt
@@ -9,7 +9,6 @@
if (!.busy && !.empty) {
TreasureBox();
- .empty=true;
specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing
.dir = .dir == 0 ? 2 : 6; // closed ? opening : closing
.busy = true; // lock until available again