Fix xenomorph egg notification & remove glob var I added

Removes a global var that wasn't used that I added in a fit to stupidity, and fixes the snowflake ghost_pod code for xenomorph eggs.
This commit is contained in:
Sym
2021-02-18 06:04:09 -05:00
parent c8f44b0e9f
commit f718e0915e
2 changed files with 3 additions and 4 deletions

View File

@@ -6,4 +6,3 @@ GLOBAL_LIST_EMPTY(directory) //all ckeys with associated client
GLOBAL_LIST_EMPTY(clients)
GLOBAL_LIST_EMPTY(players_by_zlevel)
GLOBAL_LIST_EMPTY(round_text_log)
GLOBAL_LIST_EMPTY(ghost_mob_list) //CHOMPedit List of all ghosts, including clientless. Excludes /mob/new_player

View File

@@ -29,9 +29,9 @@
/obj/structure/alien/egg/process()
progress++
if(progress >= MAX_PROGRESS)
for(var/mob/observer/ghost/O in GLOB.ghost_mob_list)
if(O.client && O.client.prefs && (BE_ALIEN))
to_chat(O, "<span class='notice'>An alien is ready to hatch! ([ghost_follow_link(src, O)]) (<a href='byond://?src=\ref[src];spawn=1'>spawn</a>)</span>")
for(var/mob/observer/dead/O) //CHOMPedit fixed the snowflake ghost_pod notification.
if(O.client)
to_chat(O, "<span class='notice'>An alien is ready to hatch! (<a href='byond://?src=\ref[src];spawn=1'>spawn</a>)</span>")
STOP_PROCESSING(SSobj, src)
update_icon()