Fix HTTP API not being available in async mainmenu (#10086)
This commit is contained in:
@@ -230,3 +230,10 @@ void ModApiHttp::Initialize(lua_State *L, int top)
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
void ModApiHttp::InitializeAsync(lua_State *L, int top)
|
||||
{
|
||||
#if USE_CURL
|
||||
API_FCT(get_http_api);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user