From c586e49e06d3fa044213efce37d072f22d77e8d1 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 29 Jan 2024 19:56:55 +0100 Subject: [PATCH] [MIRROR] The construction console drone becomes visible again while its in use (#26287) * The construction console drone becomes visible again while its in use (#81153) ## About The Pull Request The construction console (in game only used as the aux base construction console) summons a little drone while its active. This drone's invisibility is turned off, and when the user logs out, its reset to default. However, after the invisibility refactor, it was the console's invisibility that was being removed and reapplied. This PR fixes that, and properly applies it to the drone. ## Why It's Good For The Game I want to know where the RCD is about to place the wall, so I can place the items where I want them to go. ## Changelog :cl: fix: The construction console drone becomes visible again while its in use /:cl: * The construction console drone becomes visible again while its in use --------- Co-authored-by: Profakos --- .../structures/construction_console/construction_console.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures/construction_console/construction_console.dm b/code/game/objects/structures/construction_console/construction_console.dm index d33c91f7c07..720f568369e 100644 --- a/code/game/objects/structures/construction_console/construction_console.dm +++ b/code/game/objects/structures/construction_console/construction_console.dm @@ -80,12 +80,12 @@ /obj/machinery/computer/camera_advanced/base_construction/GrantActions(mob/living/user) ..() //When the eye is in use, make it visible to players so they know when someone is building. - SetInvisibility(INVISIBILITY_NONE, id=type) + eyeobj.SetInvisibility(INVISIBILITY_NONE, id=type) /obj/machinery/computer/camera_advanced/base_construction/remove_eye_control(mob/living/user) ..() //Set back to default invisibility when not in use. - RemoveInvisibility(type) + eyeobj.RemoveInvisibility(type) /** * A mob used by [/obj/machinery/computer/camera_advanced/base_construction] for building in specific areas.