From 6d35d554d88609435338ea6cf389f0bd81501741 Mon Sep 17 00:00:00 2001 From: Geeves Date: Wed, 9 Dec 2020 18:39:56 +0200 Subject: [PATCH] Cult Ghost Mouse Opacity Fix (#10750) --- code/modules/mob/abstract/observer/observer.dm | 1 + html/changelogs/geeves-no_ghost_clicks.yml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 html/changelogs/geeves-no_ghost_clicks.yml diff --git a/code/modules/mob/abstract/observer/observer.dm b/code/modules/mob/abstract/observer/observer.dm index a723a2acc5d..9413f9d6f08 100644 --- a/code/modules/mob/abstract/observer/observer.dm +++ b/code/modules/mob/abstract/observer/observer.dm @@ -747,6 +747,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp to_chat(src, "You are now visible!") invisibility = invisibility == INVISIBILITY_OBSERVER ? 0 : INVISIBILITY_OBSERVER + mouse_opacity = invisibility == INVISIBILITY_OBSERVER ? 0 : initial(mouse_opacity) // Give the ghost a cult icon which should be visible only to itself toggle_icon("cult") diff --git a/html/changelogs/geeves-no_ghost_clicks.yml b/html/changelogs/geeves-no_ghost_clicks.yml new file mode 100644 index 00000000000..53cdbe20aca --- /dev/null +++ b/html/changelogs/geeves-no_ghost_clicks.yml @@ -0,0 +1,6 @@ +author: Geeves + +delete-after: True + +changes: + - bugfix: "Cult ghosts can no longer be clicked on or hovered over, thus they cannot block clicks." \ No newline at end of file