From 549b83b78db97fcc03acceeecbb627306a257bd3 Mon Sep 17 00:00:00 2001 From: jimmyl <70376633+mc-oofert@users.noreply.github.com> Date: Mon, 5 Feb 2024 18:12:51 +0100 Subject: [PATCH] ethereal disco ball altclick sanity (#81268) ## About The Pull Request im getting tired of writing this but you may no longer altclick to unanchor or anchor when crit or at range or otherwise ## Why It's Good For The Game bug bad ## Changelog :cl: fix: you may no longer altclick ethereal disco balls while unconscious to anchor/unanchor /:cl: --- code/game/objects/items/etherealdiscoball.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/objects/items/etherealdiscoball.dm b/code/game/objects/items/etherealdiscoball.dm index 0b8183a7237..89eff5eea5f 100644 --- a/code/game/objects/items/etherealdiscoball.dm +++ b/code/game/objects/items/etherealdiscoball.dm @@ -31,6 +31,9 @@ /obj/structure/etherealball/attack_hand(mob/living/carbon/human/user, list/modifiers) . = ..() + if(!can_interact(user)) + return + if(TurnedOn) TurnOff() to_chat(user, span_notice("You turn the disco ball off!"))