Fixed memory leak with array problem, tried to fix explosion of neighbour boats on docks