Micro optimization for handle_breathing

This commit is contained in:
CitadelStationBot
2017-04-18 18:14:03 -05:00
parent 83cadc55d9
commit e0b1c95b79
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -17,12 +17,12 @@ SUBSYSTEM_DEF(mobs)
//cache for sanic speed (lists are references anyways)
var/list/currentrun = src.currentrun
var/times_fired = src.times_fired
while(currentrun.len)
var/mob/M = currentrun[currentrun.len]
currentrun.len--
if(M)
M.Life(seconds)
M.Life(seconds, times_fired)
else
GLOB.mob_list.Remove(M)
if (MC_TICK_CHECK)