mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-06 07:22:15 +00:00
Refactors sound groups to use decls instead of a massive switch with dozens of global lists. (#9702)
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
check_update_ui_need()
|
||||
|
||||
if(working && enabled && world.time > ambience_last_played + 30 SECONDS && prob(3))
|
||||
playsound(get_turf(src), "computerbeep", 30, 1, 10, required_preferences = SOUND_AMBIENCE)
|
||||
playsound(get_turf(src), /decl/sound_category/computerbeep_sound, 30, 1, 10, required_preferences = SOUND_AMBIENCE)
|
||||
ambience_last_played = world.time
|
||||
|
||||
/obj/item/modular_computer/proc/get_preset_programs(preset_type)
|
||||
|
||||
Reference in New Issue
Block a user