level elevators
This commit is contained in:
@@ -496,14 +496,7 @@ const game = {
|
||||
player.force.y += player.mass * mech.gravity;
|
||||
},
|
||||
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].count = 0;
|
||||
b.guns[i].have = false;
|
||||
if (b.guns[i].ammo != Infinity) b.guns[i].ammo = 0;
|
||||
}
|
||||
b.activeGun = null;
|
||||
|
||||
b.removeAllGuns();
|
||||
mod.setupAllMods(); //sets mods to default values
|
||||
b.setFireCD();
|
||||
game.updateModHUD();
|
||||
|
||||
Reference in New Issue
Block a user