Fix activating debug mode before loading a level
This commit is contained in:
parent
9d9c5a3988
commit
829184056e
@ -763,8 +763,10 @@ class Player extends PrimaryView {
|
|||||||
this._redraw();
|
this._redraw();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (this.level) {
|
||||||
this.update_ui();
|
this.update_ui();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
activate() {
|
activate() {
|
||||||
// We can't resize when we're not visible, so do it now
|
// We can't resize when we're not visible, so do it now
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user