summaryrefslogtreecommitdiff
path: root/npc/functions/array.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-07 21:30:26 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-07 21:30:26 -0300
commita4539057405e9ba4e445e951bf8807422888e613 (patch)
treeb50c6fc61a71dace32fda5c24b2588cc2a674c9e /npc/functions/array.txt
parent7248dfdc9cdaff4b61aa260790bcbae3dbc36b7c (diff)
downloadserverdata-a4539057405e9ba4e445e951bf8807422888e613.tar.gz
serverdata-a4539057405e9ba4e445e951bf8807422888e613.tar.bz2
serverdata-a4539057405e9ba4e445e951bf8807422888e613.tar.xz
serverdata-a4539057405e9ba4e445e951bf8807422888e613.zip
This would be a bug
Diffstat (limited to 'npc/functions/array.txt')
-rw-r--r--npc/functions/array.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/array.txt b/npc/functions/array.txt
index 74a38a466..ca2d7fbd6 100644
--- a/npc/functions/array.txt
+++ b/npc/functions/array.txt
@@ -432,6 +432,8 @@ function script array_highest {
.@dw=false;
}
} else if (getelementofarray(getarg(0), .@i) == .@win) {
+ if (!.@dw)
+ array_push(.@draw, .@idx);
array_push(.@draw, .@i);
.@dw=true;
}