Skip to content

Commit

Permalink
[MIRROR] Revert "Fixes observers spamming admin logs when observing t…
Browse files Browse the repository at this point in the history
…hemselves" [MDB IGNORE] (#25810) (#1304)

* Revert "Fixes observers spamming admin logs when observing themselves" (#80470)

Reverts tgstation/tgstation#80407

Fixes #80460

Fixes #80485

I don't think this was a good fix, we should be preventing people from
observing themselves outright. Not "they can observe themselves but skip
the actual observe-part of observing".

Also it breaks observing.

* Revert "Fixes observers spamming admin logs when observing themselves"

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: MrMelbert <[email protected]>
  • Loading branch information
3 people authored Dec 25, 2023
1 parent 127432a commit 4d01112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/dead/observer/observer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(is_secret_level(mob_eye.z) && !client?.holder)
set_sight(null) //we dont want ghosts to see through walls in secret areas
RegisterSignal(mob_eye, COMSIG_MOVABLE_Z_CHANGED, PROC_REF(on_observing_z_changed))
if(mob_eye.hud_used && src != usr) // can't view your own inventory and hud but you're either A: permanently ghosted out. Or B: dead and it barely matters.
if(mob_eye.hud_used)
client.clear_screen()
LAZYOR(mob_eye.observers, src)
mob_eye.hud_used.show_hud(mob_eye.hud_used.hud_version, src)
Expand Down

0 comments on commit 4d01112

Please sign in to comment.