summaryrefslogtreecommitdiff
path: root/npc/015-6
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/015-6
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/015-6')
-rw-r--r--npc/015-6/treasure.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/npc/015-6/treasure.txt b/npc/015-6/treasure.txt
index 5fc1a1c0f..8b7723cfb 100644
--- a/npc/015-6/treasure.txt
+++ b/npc/015-6/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