cmd: add/remove route
This commit is contained in:
@@ -48,7 +48,7 @@ func (g *Game) sendGroupInternal(ri int, groupIndex, planetNumber, quantity uint
|
||||
|
||||
p1, ok := PlanetByNum(g, sourcePlanet)
|
||||
if !ok {
|
||||
return e.NewGameStateError("source planet #%d does not exists", g.ShipGroups[sgi].Destination)
|
||||
return e.NewGameStateError("source planet #%d does not exists", sourcePlanet)
|
||||
}
|
||||
p2, ok := PlanetByNum(g, planetNumber)
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user