feat: voting procedures

This commit is contained in:
Ilia Denisov
2026-01-30 12:18:32 +03:00
parent abf72c16b4
commit 824f6609ab
12 changed files with 581 additions and 18 deletions
+3 -3
View File
@@ -58,9 +58,9 @@ func buildGameOnMap(races []string, m generator.Map) (*game.Game, error) {
}
relations[i] = game.RaceRelation{RaceID: raceID, Relation: game.RelationWar}
g.Race[i] = game.Race{
ID: raceID,
Name: races[i],
Vote: raceID,
ID: raceID,
Name: races[i],
VoteFor: raceID,
Tech: map[game.Tech]float64{
game.TechDrive: 1,
game.TechWeapons: 1,