From cd928385d26a8e3b99543711ec601738c6e50bac Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 16 Jun 2019 23:18:20 -0300 Subject: Fix bugs on treasure chests, like animation not playing, missing return(), and also bad ident --- npc/003-1-1/treasure.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'npc/003-1-1/treasure.txt') 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 -- cgit v1.2.3-60-g2f50