()
| 108 | ) |
| 109 | |
| 110 | const f = () => { |
| 111 | if (!this.levelLoader) { |
| 112 | return typeof this.load === 'function' ? this.load() : undefined |
| 113 | } |
| 114 | } // Wait to see if it's just given to us through setLevel. |
| 115 | setTimeout(f, 100) |
| 116 | } else { |
| 117 | this.load() |