From 28141949399732aee869814bdbeaf52aac54a4d2 Mon Sep 17 00:00:00 2001 From: Vladisvell <73733747+Vladisvell@users.noreply.github.com> Date: Mon, 11 Dec 2023 00:22:55 +0500 Subject: [PATCH] qol: Object tab for ghosts now always exist, annoying interface update fix (#4040) --- code/modules/mob/dead/observer/observer.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index d51ed3f6f09..c4eaf24b339 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -738,3 +738,11 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp var/datum/spawners_menu/menu = new /datum/spawners_menu(src) menu.ui_interact(src) + +/** + * Placeholder for ghosts in object category. If it does not exist, flying nearby windows\objects will + * cause constant interface lags and annoying updates with appearing/disappearing "Object" tab. + */ +/mob/dead/observer/verb/object_placeholder() + set name = " " + set category = "Object"