mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user