fix: remove fleet when deleting last group
This commit is contained in:
@@ -118,7 +118,7 @@ func (c *Cache) shipGroupUpgrade(ri int, groupID uuid.UUID, techInput string, li
|
||||
|
||||
// break group if needed
|
||||
if maxUpgradableShips < sg.Number {
|
||||
nsgi, err := c.breakGroupSafe(ri, groupID, maxUpgradableShips)
|
||||
nsgi, err := c.breakGroup(ri, groupID, maxUpgradableShips)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user