We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e3cf62 commit 17c5484Copy full SHA for 17c5484
src/games/cubeo.ts
@@ -674,15 +674,10 @@ export class CubeoGame extends GameBase {
674
}
675
676
public getPlayersScores(): IScores[] {
677
- const statuses: IScores[] = [];
678
- if (this.diceInHand(1) > 0 || this.diceInHand(2) > 0) {
679
- statuses.push({ name: i18next.t("apgames:status.PIECESINHAND"), scores: [this.diceInHand(1), this.diceInHand(2)] });
680
- }
681
- return statuses;
+ return [{ name: i18next.t("apgames:status.PIECESINHAND"), scores: [this.diceInHand(1), this.diceInHand(2)] }];
682
683
684
public clone(): CubeoGame {
685
-
686
return Object.assign(new CubeoGame(), deepclone(this) as CubeoGame);
687
688
0 commit comments