-Fixed a bug that caused insta oxycrit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2841 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rockdtben
2011-12-28 19:05:27 +00:00
parent 19fb811e20
commit a2b7cedd34
2 changed files with 2 additions and 2 deletions

View File

@@ -149,7 +149,7 @@
suiciding = 1
viewers(src) << "\red <b>[src] is thrashing wildly! It looks like \he's trying to commit suicide.</b>"
//put em at -175
adjustOxyLoss(max(100 - getFireLoss() - getBruteLoss() - getOxyLoss()), 0)
adjustOxyLoss(max(100 - getFireLoss() - getBruteLoss() - getOxyLoss(), 0))
updatehealth()

View File

@@ -345,7 +345,7 @@
oxygen_used = breath.oxygen*ratio/6
oxygen_alert = max(oxygen_alert, 1)*/
else // We're in safe limits
adjustOxyLoss(max(getOxyLoss()-5, 0))
adjustOxyLoss(-5)
oxygen_used = breath.oxygen/6
oxygen_alert = 0