mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-08-15 14:43:32 -07:00
parent
609efa7e32
commit
497efe5a99
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
* Currently limited to at most 3 buttons per message box.
|
||||
* The convention is to have "cancel" appear first.
|
||||
*/
|
||||
function init(data)
|
||||
export function init(data)
|
||||
{
|
||||
// Set title
|
||||
Engine.GetGUIObjectByName("mbTitleBar").caption = data.title;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<objects>
|
||||
|
||||
<script directory="gui/common/"/>
|
||||
<script directory="gui/msgbox/"/>
|
||||
<script module="gui/msgbox/msgbox.js"/>
|
||||
|
||||
<!-- Fade out the background because it's non-interactable -->
|
||||
<object sprite="ModernFade" type="image"/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue