Make the splashscreen a module

Ref: #8081
This commit is contained in:
phosit 2025-03-09 21:58:55 +01:00 committed by phosit
parent 77b1addb45
commit dd9ba2fd26
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
async function init(data)
export async function init(data)
{
const paragraphObjects = Engine.GetGUIObjectByName("paragraphs").children;

View file

@ -3,7 +3,7 @@
<objects>
<script directory="gui/common/"/>
<script directory="gui/splashscreen/"/>
<script module="gui/splashscreen/splashscreen.js"/>
<!-- Add a translucent black background to fade out the menu page -->
<object type="image" sprite="ModernFade"/>