From 869215dc983e643707b62be200a1d365b395e15d Mon Sep 17 00:00:00 2001 From: Archie Date: Tue, 15 Jun 2021 21:26:29 -0300 Subject: [PATCH] DON'T ASK --- code/datums/components/chasm.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/chasm.dm b/code/datums/components/chasm.dm index 56c03c7a..a1214bcb 100644 --- a/code/datums/components/chasm.dm +++ b/code/datums/components/chasm.dm @@ -115,7 +115,7 @@ L.notransform = TRUE L.Stun(200) L.resting = TRUE - if(L.client?.rights & R_FUN) + if(L.client && check_rights_for(L.client, R_FUN)) if(prob(50)) playsound(AM, 'hyperstation/sound/misc/yodadeath.ogg', 100, 0) else