Fix issues from mobile playtesting (#5)
Reviewed-on: https://home.schmelczer.dev/git/andras/decla-red/pulls/5
This commit is contained in:
parent
93a7fe01ab
commit
4d1761df16
2 changed files with 543 additions and 113 deletions
|
|
@ -271,7 +271,7 @@ export class GameServer implements GameEvents {
|
|||
points >= this.options.scoreLimit * settings.matchPointScoreRatio
|
||||
) {
|
||||
this.matchPointAnnounced[team] = true;
|
||||
this.announce(`Match point — team <span class="${team}">${team}</span>!`);
|
||||
this.announce(`Match point: team <span class="${team}">${team}</span>!`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -140,12 +140,6 @@ export class PlanetPhysical extends PlanetBase implements Physical {
|
|||
Math.round(settings.captureFlipPointReward * this.sizePointMultiplier),
|
||||
);
|
||||
this.awardToOwner(settings.captureFlipPointReward);
|
||||
|
||||
if (this.isKeystone) {
|
||||
this.game.announce(
|
||||
`Team <span class="${currentTeam}">${currentTeam}</span> captured the Heart`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
const control = Math.abs(this.ownership - 0.5) / 0.5;
|
||||
|
|
|
|||
Loading…
Reference in a new issue