Fix doors again

This commit is contained in:
Razgriz
2020-10-05 01:34:39 -07:00
committed by GitHub
parent 879e7156e8
commit 88f0d501db

View File

@@ -1225,11 +1225,11 @@ About the new airlock wires panel:
var/volume
if(old_sounds) // Do we have old sounds enabled? Play these even if we have department door sounds enabled.
if(arePowerSystemsOn())
sound = open_sound_powered
volume = 50
else
sound = open_sound_unpowered
volume = 75
else
sound = legacy_open_powered
volume = 50
else if(!old_sounds && department_door_sounds && src.department_open_powered) // Else, we have old sounds disabled, the door has per-department door sounds, and we have chosen to play department door sounds, use these.
if(arePowerSystemsOn())
sound = department_open_powered
@@ -1239,7 +1239,7 @@ About the new airlock wires panel:
volume = 75
else // Else, play these.
if(arePowerSystemsOn())
sound = open_sound_powered
sound = legacy_open_powered
volume = 50
else
sound = open_sound_unpowered
@@ -1354,11 +1354,11 @@ About the new airlock wires panel:
var/volume
if(old_sounds)
if(arePowerSystemsOn())
sound = close_sound_powered
volume = 50
else
sound = open_sound_unpowered
volume = 75
else
sound = legacy_close_powered
volume = 50
else if(!old_sounds && department_door_sounds && src.department_close_powered) // Else, we have old sounds disabled, the door has per-department door sounds, and we have chosen to play department door sounds, use these.
if(arePowerSystemsOn())
sound = department_close_powered
@@ -1368,7 +1368,7 @@ About the new airlock wires panel:
volume = 75
else
if(arePowerSystemsOn())
sound = close_sound_powered
sound = legacy_close_powered
volume = 50
else
sound = open_sound_unpowered