reset status bar on restart
This commit is contained in:
parent
64a0f0a6aa
commit
0d587ac712
@ -397,6 +397,7 @@ control.prototype.resetStatus = function(hero, hard, floorId, route, maps, value
|
|||||||
else core.values = core.clone(core.data.values);
|
else core.values = core.clone(core.data.values);
|
||||||
|
|
||||||
core.events.initGame();
|
core.events.initGame();
|
||||||
|
this.updateGlobalAttribute(Object.keys(core.status.globalAttribute));
|
||||||
core.status.played = true;
|
core.status.played = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user