Skip to content

Commit

Permalink
fix: missing brace in transcendent mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Golbolco authored Dec 4, 2023
1 parent a820ce2 commit 9bf99da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Games/types/Mafia/effects/Frozen.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ const Action = require("../Action");
module.exports = class Frozen extends Effect {
constructor(power, lifespan) {
super("Frozen");
this.meetingName = meetingName || "*";
}
apply(player) {
super.apply(player);

player.role.meetings["*"].canVote = false;
player.role.meetings[this.meetingName].canVote = false;

this.action = new Action({
actor: this.actor,
Expand Down
4 changes: 2 additions & 2 deletions Games/types/Mafia/roles/cards/ActAliveOrDead.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ module.exports = class ActAliveOrDead extends Card {
} else return true;
},
whileAlive: function (meetingName) {
if (meetingName == "Graveyard") return false;
else return true;
if (meetingName == "Graveyard") {return false;
} else return true;
},
},
};
Expand Down

0 comments on commit 9bf99da

Please sign in to comment.