reset status bar on restart

This commit is contained in:
ckcz123 2018-12-11 19:44:00 +08:00
parent 64a0f0a6aa
commit 0d587ac712

View File

@ -397,6 +397,7 @@ control.prototype.resetStatus = function(hero, hard, floorId, route, maps, value
else core.values = core.clone(core.data.values);
core.events.initGame();
this.updateGlobalAttribute(Object.keys(core.status.globalAttribute));
core.status.played = true;
}