Make mod/gui/pregame/mainmenu.js a module

Refs: #8081
This commit is contained in:
phosit 2026-07-27 12:23:43 +02:00
parent 497efe5a99
commit bf0c3af75a
No known key found for this signature in database
GPG key ID: C9430B600671C268
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
async function init() export async function init()
{ {
return { [Engine.openRequest]: { return { [Engine.openRequest]: {
"page": "page_modmod.xml", "page": "page_modmod.xml",

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<objects> <objects>
<script directory="gui/pregame/"/> <script module="gui/pregame/mainmenu.js"/>
</objects> </objects>