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
@@ -28,8 +28,8 @@
///////////////
//Start of a breath chain, calls breathe()
/mob/living/carbon/handle_breathing()
if(SSmobs.times_fired%4==2 || failed_last_breath)
/mob/living/carbon/handle_breathing(times_fired)
if((times_fired % 4) == 2 || failed_last_breath)
breathe() //Breathe per 4 ticks, unless suffocating
else
if(istype(loc, /obj/))