summaryrefslogtreecommitdiff
path: root/npc/005-1-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-1-1')
-rw-r--r--npc/005-1-1/main.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/005-1-1/main.txt b/npc/005-1-1/main.txt
index 66a5a43cf..e80aaa7b1 100644
--- a/npc/005-1-1/main.txt
+++ b/npc/005-1-1/main.txt
@@ -136,7 +136,7 @@ OnInteract:
// Destroy the crop if needed
.@cropId$=getcropid(.@x, .@y);
- if (array_find(@DESTROYED, .@cropId$) == -1) {
+ if (array_find2(@DESTROYED, .@cropId$) == -1) {
debugmes("[LOGIC] -------------------------- crop found");
array_push(@DESTROYED, .@cropId$);
debugmes("[LOGIC] -------------------------- crop destroyed");