bugfix: humans start with zero troops on teams, also removed manpower argument to addPlayer()

This commit is contained in:
Evan
2025-04-04 10:03:00 -07:00
parent 51bbf2becd
commit 924ca2c69e
8 changed files with 13 additions and 23 deletions
+1 -4
View File
@@ -29,10 +29,7 @@ export class SpawnExecution implements Execution {
if (this.mg.hasPlayer(this.playerInfo.id)) {
player = this.mg.player(this.playerInfo.id);
} else {
player = this.mg.addPlayer(
this.playerInfo,
this.mg.config().startManpower(this.playerInfo),
);
player = this.mg.addPlayer(this.playerInfo);
}
player.tiles().forEach((t) => player.relinquish(t));