Skip to content

Commit

Permalink
[MIRROR] ethereal disco ball altclick sanity (#781)
Browse files Browse the repository at this point in the history
* 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:

* ethereal disco ball altclick sanity

---------

Co-authored-by: jimmyl <[email protected]>
  • Loading branch information
2 people authored and FFMirrorBot committed Feb 5, 2024
1 parent dc85592 commit 5486867
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/game/objects/items/etherealdiscoball.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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!"))
Expand Down

0 comments on commit 5486867

Please sign in to comment.