Fixed bug
This commit is contained in:
+2
-2
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user