Merge pull request #2617 from CHOMPStationBot/upstream-merge-11179

[MIRROR] Optimize a couple things
This commit is contained in:
Nadyr
2021-07-20 21:45:26 -04:00
committed by GitHub
262 changed files with 547 additions and 976 deletions

View File

@@ -1222,8 +1222,7 @@ About the new airlock wires panel:
use_power(360) //360 W seems much more appropriate for an actuator moving an industrial door capable of crushing people
//if the door is unpowered then it doesn't make sense to hear the woosh of a pneumatic actuator
for(var/P in player_list)
var/mob/M = P
for(var/mob/M as anything in player_list)
if(!M || !M.client)
continue
var/old_sounds = M.client.is_preference_enabled(/datum/client_preference/old_door_sounds)
@@ -1351,8 +1350,7 @@ About the new airlock wires panel:
use_power(360) //360 W seems much more appropriate for an actuator moving an industrial door capable of crushing people
has_beeped = 0
for(var/P in player_list)
var/mob/M = P
for(var/mob/M as anything in player_list)
if(!M || !M.client)
continue
var/old_sounds = M.client.is_preference_enabled(/datum/client_preference/old_door_sounds)