reset random seed when exit

This commit is contained in:
Renge 2022-04-25 23:23:58 -04:00
parent 4705b38775
commit c0283877ce

View File

@ -11,6 +11,7 @@ export default class GameOver extends Scene {
startScene() {
InputWrapper.setState(GameState.PAUSE);
InputWrapper.randomSeed = undefined;
const center = this.viewport.getCenter();
this.addUILayer("primary");