minor balance changes

This commit is contained in:
lilgreenland
2019-12-05 15:44:52 -08:00
parent 23f953f699
commit dc408dd464
4 changed files with 8 additions and 95 deletions

View File

@@ -405,7 +405,7 @@ const game = {
addGravity(body, game.g);
player.force.y += player.mass * mech.gravity;
},
reset() {
reset() { //run on first run, and each later run after you die
b.inventory = []; //removes guns and ammo
for (let i = 0, len = b.guns.length; i < len; ++i) {
b.guns[i].have = false;