fix game crashing on ship destruction

This commit is contained in:
Asraelite 2016-04-02 18:43:11 +01:00
parent 7bd1935723
commit f138654ccb
3 changed files with 6 additions and 1 deletions

View file

@ -13,7 +13,7 @@ class Room {
this.teamB = new Set();
this.world = new World(this);
this.name = (Math.random() * 100000 | 0).toString(36);
this.tps = wingbase.args.development ? 5 : 60;
this.tps = wingbase.args.development ? 60 : 60;
this.idGenerator = (function*() {
let i = 0;