reset random seed when exit
This commit is contained in:
parent
4705b38775
commit
c0283877ce
|
@ -11,6 +11,7 @@ export default class GameOver extends Scene {
|
||||||
|
|
||||||
startScene() {
|
startScene() {
|
||||||
InputWrapper.setState(GameState.PAUSE);
|
InputWrapper.setState(GameState.PAUSE);
|
||||||
|
InputWrapper.randomSeed = undefined;
|
||||||
const center = this.viewport.getCenter();
|
const center = this.viewport.getCenter();
|
||||||
|
|
||||||
this.addUILayer("primary");
|
this.addUILayer("primary");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user