mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Revert Preamble
Because the newscaster beeps at you, then the preamble, then the station. STOP. IT'S ENOUGH.
This commit is contained in:
@@ -107,21 +107,14 @@
|
||||
announce_newscaster_news(news)
|
||||
|
||||
/datum/announcement/proc/PlaySound(var/message_sound, var/list/zlevels)
|
||||
if(!message_sound)
|
||||
return
|
||||
|
||||
for(var/mob/M in player_list)
|
||||
if(zlevels && !(M.z in zlevels))
|
||||
continue
|
||||
if(!istype(M,/mob/new_player) && !isdeaf(M))
|
||||
M << 'sound/AI/preamble.ogg'
|
||||
|
||||
if(!message_sound)
|
||||
return
|
||||
|
||||
spawn(22) // based on length of preamble.ogg + arbitrary delay
|
||||
for(var/mob/M in player_list)
|
||||
if(zlevels && !(M.z in zlevels))
|
||||
continue
|
||||
if(!istype(M,/mob/new_player) && !isdeaf(M))
|
||||
M << message_sound
|
||||
M << message_sound
|
||||
|
||||
/datum/announcement/proc/Sound(var/message_sound, var/list/zlevels)
|
||||
PlaySound(message_sound, zlevels)
|
||||
|
||||
Reference in New Issue
Block a user