mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
Merge pull request #2617 from CHOMPStationBot/upstream-merge-11179
[MIRROR] Optimize a couple things
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user