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/010-1-1/treasure.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'npc/010-1-1') diff --git a/npc/010-1-1/treasure.txt b/npc/010-1-1/treasure.txt index dfa86c9ea..5f2c1fb82 100644 --- a/npc/010-1-1/treasure.txt +++ b/npc/010-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-70-g09d2