Commit 1a3cf424 authored by wildfirecode's avatar wildfirecode

1

parent 98d63918
...@@ -13,7 +13,7 @@ export default class PanelCtrl { ...@@ -13,7 +13,7 @@ export default class PanelCtrl {
PanelCtrl.instance.show(panel); PanelCtrl.instance.show(panel);
} }
checkPanels(){ checkPanels(){
if(this._panels.length <=0 ) return; if(!this._panels || this._panels.length <=0 ) return;
wait(300); wait(300);
const panel = this._panels.shift(); const panel = this._panels.shift();
PanelCtrl.instance.show(panel); PanelCtrl.instance.show(panel);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment