diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-07 21:30:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-07 21:30:26 -0300 |
commit | a4539057405e9ba4e445e951bf8807422888e613 (patch) | |
tree | b50c6fc61a71dace32fda5c24b2588cc2a674c9e /npc | |
parent | 7248dfdc9cdaff4b61aa260790bcbae3dbc36b7c (diff) | |
download | serverdata-a4539057405e9ba4e445e951bf8807422888e613.tar.gz serverdata-a4539057405e9ba4e445e951bf8807422888e613.tar.bz2 serverdata-a4539057405e9ba4e445e951bf8807422888e613.tar.xz serverdata-a4539057405e9ba4e445e951bf8807422888e613.zip |
This would be a bug
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/array.txt | 2 |
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; } |