refactor: fleet/group AtPlanet
This commit is contained in:
@@ -27,7 +27,7 @@ func (c *Cache) SendGroup(ri int, groupIndex, planetNumber, quantity uint) error
|
||||
return e.NewSendShipHasNoDrivesError()
|
||||
}
|
||||
|
||||
sourcePlanet, ok := c.ShipGroup(sgi).OnPlanet()
|
||||
sourcePlanet, ok := c.ShipGroup(sgi).AtPlanet()
|
||||
if !ok {
|
||||
return e.NewShipsBusyError()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user