forked from mirrors/0ad
Enable page-inits to return a Promise
Allows to return the page-completion-value instead of passing it to an `Engine` function. Closes: #7000
This commit is contained in:
@@ -51,7 +51,7 @@ void PopGuiPage(const ScriptRequest& rq, JS::HandleValue args)
|
||||
return;
|
||||
}
|
||||
|
||||
g_GUI->PopPage(Script::WriteStructuredClone(rq, args));
|
||||
g_GUI->PopPage(args);
|
||||
}
|
||||
|
||||
void SetCursor(const std::wstring& name)
|
||||
|
||||
Reference in New Issue
Block a user