mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-05 23:13:06 +00:00
[MIRROR] var/global/list -> GLOB. conversion (#11193)
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6f8cbcf612
commit
2c9453b5c3
@@ -79,7 +79,7 @@
|
||||
|
||||
var/life = 0
|
||||
|
||||
for(var/mob/living/L in living_mob_list)
|
||||
for(var/mob/living/L in GLOB.living_mob_list)
|
||||
if(L.z in map_z) //Things inside things we'll consider shielded, otherwise we'd want to use get_z(L)
|
||||
life++
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
return
|
||||
//VOREStation Add Start
|
||||
last_sound = world.time
|
||||
for(var/mob/potential_mob as anything in player_list)
|
||||
for(var/mob/potential_mob as anything in GLOB.player_list)
|
||||
if(potential_mob.z in map_z)
|
||||
SEND_SOUND(potential_mob, 'sound/ambience/shutdown.ogg')
|
||||
//VOREStation Add End
|
||||
@@ -153,7 +153,7 @@
|
||||
return
|
||||
//VOREStation Add Start
|
||||
last_sound = world.time
|
||||
for(var/mob/potential_mob as anything in player_list)
|
||||
for(var/mob/potential_mob as anything in GLOB.player_list)
|
||||
if(potential_mob.z in map_z)
|
||||
SEND_SOUND(potential_mob, 'sound/ambience/startup.ogg')
|
||||
//VOREStation Add End
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
/obj/effect/overmap/visitable/ship/Initialize(mapload)
|
||||
. = ..()
|
||||
listening_objects += src
|
||||
GLOB.listening_objects += src
|
||||
|
||||
/obj/effect/overmap/visitable/ship/Destroy()
|
||||
listening_objects -= src
|
||||
GLOB.listening_objects -= src
|
||||
return ..()
|
||||
|
||||
/obj/effect/overmap/visitable/ship/MouseDrop(atom/over)
|
||||
|
||||
Reference in New Issue
Block a user