From a4539057405e9ba4e445e951bf8807422888e613 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 7 Sep 2019 21:30:26 -0300 Subject: This would be a bug --- npc/functions/array.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'npc/functions/array.txt') 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; } -- cgit v1.2.3-70-g09d2