mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
More review fixes
* Move start/stop processing for rad view into verb * Move rad view proc into mob.dm * Remove extraneous check on view range
This commit is contained in:
@@ -88,8 +88,6 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
|
||||
|
||||
//starts ghosts off with all HUDs.
|
||||
toggle_medHUD()
|
||||
|
||||
START_PROCESSING(SSobj, src)
|
||||
..()
|
||||
|
||||
/mob/dead/observer/Destroy()
|
||||
@@ -100,7 +98,8 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
|
||||
if(orbit_menu)
|
||||
SStgui.close_uis(orbit_menu)
|
||||
QDEL_NULL(orbit_menu)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
if (seerads)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
return ..()
|
||||
|
||||
/mob/dead/observer/examine(mob/user)
|
||||
@@ -406,9 +405,11 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
if(seerads) //remove old huds
|
||||
to_chat(src, "<span class='notice'>Rad view disabled.</span>")
|
||||
seerads = FALSE
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
else
|
||||
to_chat(src, "<span class='notice'>Rad view enabled.</span>")
|
||||
seerads = TRUE
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
/mob/dead/observer/verb/set_dnr()
|
||||
set name = "Set DNR"
|
||||
|
||||
Reference in New Issue
Block a user