stackcollision / GardenConquest

A new conquest game mode for Space Engineers
6 stars 7 forks source link

Fleet.updateSupportAdded should replace the smallest ship it's larger than if needs support #100

Closed zrisher closed 9 years ago

zrisher commented 9 years ago

Currently when adding a grid to a Fleet with a full support count for that class, we'll replace the first supported grid we find that's smaller than the added grid.

Instead, we should replace the smallest of the supported grids that's smaller than the added grid.

zrisher commented 9 years ago

Fixed via #94