Fix reveal role from a mafia psychologist (#59968)

This commit is contained in:
KIBORG04
2021-07-04 03:21:16 -07:00
committed by GitHub
parent 4249a1ba6b
commit 5347af6dfd
+2 -2
View File
@@ -240,8 +240,8 @@
current_target = null
if(!target.can_action(game, src, "role reveal"))
return
add_note("N[game.turn] - [current_target.body.real_name] - Revealed true identity")
to_chat(body,span_warning("You have revealed the true nature of the [current_target]!"))
add_note("N[game.turn] - [target.body.real_name] - Revealed true identity")
to_chat(body,span_warning("You have revealed the true nature of the [target]!"))
target.reveal_role(game, verbose = TRUE)
can_use = FALSE