cmd: unload cargo
This commit is contained in:
@@ -90,6 +90,7 @@ func (g *Game) joinShipGroupToFleetInternal(ri int, fleetName string, group, cou
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME: if g.ShipGroups[sgi].FleetID != nil { // delete old fleet if empty, ALSO mind breaking group }
|
||||
if count > 0 && g.ShipGroups[sgi].Number != count {
|
||||
newGroup := g.ShipGroups[sgi]
|
||||
newGroup.Number -= count
|
||||
|
||||
Reference in New Issue
Block a user