From 14173ecb046b783603d2321966662e3f6e97d0ad Mon Sep 17 00:00:00 2001 From: cowbot92 <75333826+cowbot92@users.noreply.github.com> Date: Wed, 25 Dec 2024 11:00:06 -0500 Subject: [PATCH] Update code/modules/antagonists/traitor/backstory/traitor_backstory_ui.dm Co-authored-by: Lucy --- .../antagonists/traitor/backstory/traitor_backstory_ui.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/antagonists/traitor/backstory/traitor_backstory_ui.dm b/code/modules/antagonists/traitor/backstory/traitor_backstory_ui.dm index a566f1515a41..fee3670423b5 100644 --- a/code/modules/antagonists/traitor/backstory/traitor_backstory_ui.dm +++ b/code/modules/antagonists/traitor/backstory/traitor_backstory_ui.dm @@ -6,7 +6,7 @@ return null /datum/antagonist/traitor/proc/add_menu_action() - if(info_button_ref?.resolve() != null) + if(!isnull(info_button_ref?.resolve())) return var/datum/action/antag_info/traitor_menu/menu = new(src) menu.Grant(owner.current)