Fixed bug
This commit is contained in:
parent
654e4a19b2
commit
68411df013
|
@ -5,9 +5,9 @@ class Scene extends Screen {
|
||||||
this.player = player;
|
this.player = player;
|
||||||
this.currentHeight = 0;
|
this.currentHeight = 0;
|
||||||
|
|
||||||
//if (this.maxHeight === undefined) {
|
if (this.maxHeight === undefined) {
|
||||||
this.maxHeight = 0;
|
this.maxHeight = 0;
|
||||||
//}
|
}
|
||||||
|
|
||||||
this.initialize();
|
this.initialize();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue