cmd: add/remove route

This commit is contained in:
Ilia Denisov
2026-01-06 07:16:27 +02:00
parent 5f3a416abd
commit 0b8c53cedf
5 changed files with 218 additions and 2 deletions
+1 -1
View File
@@ -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 {