summaryrefslogtreecommitdiff
path: root/npc/007-1
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/007-1
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/007-1')
-rw-r--r--npc/007-1/treasure.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/npc/007-1/treasure.txt b/npc/007-1/treasure.txt
index 9a3bc273f..21d4631bd 100644
--- a/npc/007-1/treasure.txt
+++ b/npc/007-1/treasure.txt
@@ -33,7 +33,6 @@ OnInit:
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