Skip to content

Commit ef8ab7d

Browse files
committed
Fix crash on engine start during script export (closes #1995)
1 parent 47f01c0 commit ef8ab7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrGame/MainMenu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class CMainMenu : public IMainMenu,
202202
CEventNotifierCallback::CID m_script_reset_event_cid;
203203

204204
private:
205-
DECLARE_SCRIPT_REGISTER_FUNCTION(CDialogHolder);
205+
DECLARE_SCRIPT_REGISTER_FUNCTION(CDialogHolder, CUIDialogWnd, CUIWindow);
206206
};
207207

208208
extern CMainMenu* MainMenu();

0 commit comments

Comments
 (0)