diff --git a/Games/types/Mafia/roles/cards/StealFromTargets.js b/Games/types/Mafia/roles/cards/StealFromTargets.js index bf1bc119b..c90d95afc 100644 --- a/Games/types/Mafia/roles/cards/StealFromTargets.js +++ b/Games/types/Mafia/roles/cards/StealFromTargets.js @@ -11,10 +11,11 @@ module.exports = class StealFromTargets extends Card { labels: ["stealItem"], run: function () { if (this.game.getStateName() != "Night") return; + if (!this.actor.alive) return; - let visits = this.getVisitors(this.actor); - visitors.map((v) => this.stealAllItems(v)); + let visits = this.getVisits(this.actor); + visits.map((v) => this.stealAllItems(v)); }, }, ];