diff --git a/code/modules/mafia/_defines.dm b/code/modules/mafia/_defines.dm index abf158d57ad..835aff9d63d 100644 --- a/code/modules/mafia/_defines.dm +++ b/code/modules/mafia/_defines.dm @@ -68,7 +68,7 @@ #define CAN_USE_ON_OTHERS (1<<0) ///Flag that decides whether the Mafia ability can be used on themselves. #define CAN_USE_ON_SELF (1<<1) -///Flag that decides whether the Mafia ability can be used on dead players. This overwrites the first two, and only allows for dead. +///Flag that decides whether the Mafia ability can be used on dead players. #define CAN_USE_ON_DEAD (1<<2) #define MAFIA_PHASE_SETUP "No Game" diff --git a/code/modules/mafia/abilities/abilities.dm b/code/modules/mafia/abilities/abilities.dm index ec4b7071ae8..59ee7570c32 100644 --- a/code/modules/mafia/abilities/abilities.dm +++ b/code/modules/mafia/abilities/abilities.dm @@ -56,7 +56,7 @@ return FALSE if(potential_target) - if(!(use_flags & CAN_USE_ON_DEAD) && (potential_target.game_status == MAFIA_DEAD)) + if((use_flags & CAN_USE_ON_DEAD) && (potential_target.game_status != MAFIA_DEAD)) if(!silent) to_chat(host_role.body, span_notice("This can only be used on dead players.")) return FALSE