Skip to content

Commit

Permalink
qol: Object tab for ghosts now always exist, annoying interface updat…
Browse files Browse the repository at this point in the history
…e fix (#4040)
  • Loading branch information
Vladisvell authored Dec 10, 2023
1 parent 8cafe3b commit 5ea6779
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/modules/mob/dead/observer/observer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -735,3 +735,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"

0 comments on commit 5ea6779

Please sign in to comment.