Wait for map load before loading effects
Both command and mapSettings effects work again
This commit is contained in:
parent
5c68b02fff
commit
9a601b7e2e
@ -111,7 +111,7 @@ const updateScene = () => {
|
|||||||
|
|
||||||
// Only update effects once mapEffects are loaded
|
// Only update effects once mapEffects are loaded
|
||||||
if (!mapEffectsReady.value) {
|
if (!mapEffectsReady.value) {
|
||||||
if (mapEffects && Object.keys(mapEffects).length) {
|
if (mapObject.value) {
|
||||||
mapEffectsReady.value = true
|
mapEffectsReady.value = true
|
||||||
} else {
|
} else {
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user