From cf0d003549b515aad8319aa1a67161583fdbfec2 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 29 Sep 2022 20:42:57 +0200 Subject: [PATCH] [MIRROR] Makes wizard event not run when it isnt supposed to [MDB IGNORE] (#16529) * Makes wizard event not run when it isnt supposed to (#70178) fix: Wizard's anonymous event won't run near the start of a round anymore. * Makes wizard event not run when it isnt supposed to Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> --- code/modules/events/wizard/identity_spoof.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/events/wizard/identity_spoof.dm b/code/modules/events/wizard/identity_spoof.dm index dc6975eef12..10519e9dcd7 100644 --- a/code/modules/events/wizard/identity_spoof.dm +++ b/code/modules/events/wizard/identity_spoof.dm @@ -7,7 +7,7 @@ /datum/round_event_control/wizard/identity_spoof/can_spawn_event(players_amt) . = ..() - if(.) + if(!.) return . if(GLOB.current_anonymous_theme) //already anonymous, ABORT ABORT