pkg gumps > GFCloseGumpOnLeaveArea
andrtechno opened this issue · comments
Andrew commented
gumps/include/autoclose.inc
Here is the problem with parameters
function GFCloseGumpOnLeaveArea ( mobile, x_1, y_1, x_2, y_2, pid, variance:=1, ret_val:=0 )
return Start_Script ( ":gumps:scripts/autoClose/autoCloseOnLeaveArea", array{mobile, object, pid, dist_traveled, ret_val} );
endfunction
DavidJSGardner commented
Just committed a fix for this, this was my error made oh so many moons ago.
Andrew commented
double-check the functions in the autoclose file, there are other functions with a similar problem