Fixed In UtBS::2 a 1 based random array index was being created.
I changed it to a 0 based random index.
This commit is contained in:
parent
e39c4700ec
commit
1432676b55
1 changed files with 1 additions and 0 deletions
|
@ -2061,6 +2061,7 @@
|
|||
# pick one random ghost_spawn from which
|
||||
# to store all locations in range
|
||||
{RANDOM 1..$ghost_spawn.length}
|
||||
{VARIABLE_OP random sub 1}
|
||||
{VARIABLE ghost_x $ghost_spawn[$random].x}
|
||||
{VARIABLE ghost_y $ghost_spawn[$random].y}
|
||||
{CLEAR_VARIABLE ghost_spawn}
|
||||
|
|
Loading…
Add table
Reference in a new issue