Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at v2.Ships.getShip(Int32 index)
at v2.Form1.isEnemyNearby()
at v2.Form1.BotThread()
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at v2.Ships.getShip(Int32 index)
at v2.Form1.isEnemyNearby()
at v2.Form1.BotThread()