minor bug fixes

This commit is contained in:
landgreen
2019-12-11 05:52:52 -08:00
committed by GitHub
parent e3022bea0c
commit 69c5a2bc33
4 changed files with 16 additions and 14 deletions

View File

@@ -461,7 +461,7 @@ const mech = {
// freeze game and display a full screen red color
if (dmg > 0.05) {
this.drop(); //drop block if holding
if (dmg > 0.07 && mech.holdingMassScale > 0.2) this.drop(); //drop block if holding
game.fpsCap = 4 //40 - Math.min(25, 100 * dmg)
game.fpsInterval = 1000 / game.fpsCap;
} else {