mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-01 04:52:39 +00:00
Makes Ambient Heartbeat sound in space controlled by Ambiance settings (#6009)
* Add files via upload * Revert "Merge pull request #1 from Shophaune/plant-bag-ui-bug-fix" This reverts commit62a60d4f87, reversing changes made to6f909ce590. * makes ambiance heartbeat controlled by ambiance setting
This commit is contained in:
@@ -1578,7 +1578,7 @@
|
||||
if(!H || (H.robotic >= ORGAN_ROBOT))
|
||||
return
|
||||
|
||||
if(pulse >= PULSE_2FAST || shock_stage >= 10 || istype(get_turf(src), /turf/space))
|
||||
if(pulse >= PULSE_2FAST || shock_stage >= 10 || (istype(get_turf(src), /turf/space) && is_preference_enabled(/datum/client_preference/play_ambiance)))
|
||||
//PULSE_THREADY - maximum value for pulse, currently it 5.
|
||||
//High pulse value corresponds to a fast rate of heartbeat.
|
||||
//Divided by 2, otherwise it is too slow.
|
||||
|
||||
Reference in New Issue
Block a user