mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-03 06:30:48 +00:00
bugfix: humans start with zero troops on teams, also removed manpower argument to addPlayer()
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user