cmd: unload cargo

This commit is contained in:
Ilia Denisov
2025-12-11 23:00:31 +03:00
parent 4447d125ac
commit d0d5bc3c88
7 changed files with 322 additions and 39 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ func (g Game) planetProductionInternal(ri int, number int, prod PlanetProduction
return e.NewEntityNotExistsError("planet #%d", number)
}
if g.Map.Planet[i].Owner != g.Race[ri].ID {
return e.NewEntityNotOwnedError("planet %#d", number)
return e.NewEntityNotOwnedError("planet #%d", number)
}
g.Map.Planet[i].Production.Progress = nil
var subjectID *uuid.UUID