Spaces:
Runtime error
Runtime error
Commit
·
65b89b5
1
Parent(s):
44b9fb1
small update
Browse files- src/app/main.tsx +4 -0
src/app/main.tsx
CHANGED
@@ -341,6 +341,8 @@ export default function Main() {
|
|
341 |
}
|
342 |
|
343 |
if (event === "ClickOnActionnable" || event === "ClickOnNothing") {
|
|
|
|
|
344 |
askGameMasterForEpicDialogue(newEventString)
|
345 |
askGameMasterForEpicBackground(newEventString)
|
346 |
}
|
@@ -390,6 +392,8 @@ export default function Main() {
|
|
390 |
}
|
391 |
|
392 |
if (event === "DroppedOnActionnable") {
|
|
|
|
|
393 |
askGameMasterForEpicBackground(newEventString)
|
394 |
}
|
395 |
}
|
|
|
341 |
}
|
342 |
|
343 |
if (event === "ClickOnActionnable" || event === "ClickOnNothing") {
|
344 |
+
setBusy(busyRef.current = true) // this will be set to false once the scene finish loading
|
345 |
+
|
346 |
askGameMasterForEpicDialogue(newEventString)
|
347 |
askGameMasterForEpicBackground(newEventString)
|
348 |
}
|
|
|
392 |
}
|
393 |
|
394 |
if (event === "DroppedOnActionnable") {
|
395 |
+
setBusy(busyRef.current = true) // this will be set to false once the scene finish loading
|
396 |
+
|
397 |
askGameMasterForEpicBackground(newEventString)
|
398 |
}
|
399 |
}
|