mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-08-15 14:43:32 -07:00
parent
1b07b799ec
commit
8918cfb0a7
2 changed files with 5 additions and 3 deletions
|
|
@ -1,6 +1,8 @@
|
|||
var g_IncompatibleModsFile = "gui/incompatible_mods/incompatible_mods.txt";
|
||||
/* eslint-disable prefer-const -- Mods should be able to change it */
|
||||
let g_IncompatibleModsFile = "gui/incompatible_mods/incompatible_mods.txt";
|
||||
/* eslint-enable prefer-const */
|
||||
|
||||
function init(data)
|
||||
export function init(data)
|
||||
{
|
||||
Engine.GetGUIObjectByName("mainText").caption = Engine.TranslateLines(Engine.ReadFile(g_IncompatibleModsFile));
|
||||
return new Promise(closePageCallback =>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<objects>
|
||||
<script directory="gui/common/"/>
|
||||
<script directory="gui/incompatible_mods/"/>
|
||||
<script module="gui/incompatible_mods/incompatible_mods.js"/>
|
||||
|
||||
<!-- Add a translucent black background to fade out the menu page -->
|
||||
<object type="image" sprite="ModernFade"/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue