Merge pull request #9045 from Ilysen/click-catcher-by-sa

Click catchers no longer display as Darkness
This commit is contained in:
Atermonera
2023-03-13 23:57:27 -08:00
committed by GitHub

View File

@@ -337,7 +337,6 @@
facedir(direction)
/obj/screen/click_catcher
name = "Darkness"
icon = 'icons/mob/screen_gen.dmi'
icon_state = "click_catcher"
plane = CLICKCATCHER_PLANE
@@ -345,6 +344,10 @@
mouse_opacity = 2
screen_loc = "SOUTHWEST to NORTHEAST"
/obj/screen/click_catcher/Initialize(mapload, ...)
. = ..()
verbs.Cut()
/obj/screen/click_catcher/Click(location, control, params)
var/list/modifiers = params2list(params)
if(modifiers["middle"] && istype(usr, /mob/living/carbon))