Fix activating debug mode before loading a level

This commit is contained in:
Eevee (Evelyn Woods) 2020-12-08 17:54:21 -07:00
parent 9d9c5a3988
commit 829184056e

View File

@ -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