saving new turn

This commit is contained in:
Ilia Denisov
2025-09-26 01:38:49 +03:00
parent 6d87ea6086
commit 282150a253
13 changed files with 170 additions and 57 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ const (
)
type ProductionType struct {
Production PlanetProduction
SubjectName string // TODO: change to UUID
Production PlanetProduction `json:"type"`
SubjectName string `json:"subject"` // TODO: change to UUID
}
func (p PlanetProduction) AsType(subject string) ProductionType {