mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-06-02 04:40:39 +01:00
2c9453b5c3
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
14 lines
620 B
Plaintext
14 lines
620 B
Plaintext
/obj/effect/overmap/visitable/sector/Crossed(var/obj/effect/overmap/visitable/ship/enterer)
|
|
. = ..()
|
|
if(istype(enterer))
|
|
for(var/mob/potential_mob as anything in GLOB.player_list)
|
|
if(potential_mob.z in enterer.map_z)
|
|
SEND_SOUND(potential_mob, 'sound/ambience/approaching_planet.ogg')
|
|
|
|
/obj/effect/overmap/visitable/planet/Crossed(var/obj/effect/overmap/visitable/ship/enterer) //CHOMPedit, lazy copy-paste
|
|
. = ..()
|
|
if(istype(enterer))
|
|
for(var/mob/potential_mob as anything in GLOB.player_list)
|
|
if(potential_mob.z in enterer.map_z)
|
|
SEND_SOUND(potential_mob, 'sound/ambience/approaching_planet.ogg')
|