feat(glue): add stub for GetNumAddOns script function

This commit is contained in:
fallenoak 2023-02-19 14:09:10 -06:00
parent a07aeb1b33
commit 0e04a675b3
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D

View file

@ -234,7 +234,10 @@ int32_t Script_PatchDownloadApply(lua_State* L) {
} }
int32_t Script_GetNumAddOns(lua_State* L) { int32_t Script_GetNumAddOns(lua_State* L) {
WHOA_UNIMPLEMENTED(); // TODO
lua_pushnumber(L, 0);
return 1;
} }
int32_t Script_GetAddOnInfo(lua_State* L) { int32_t Script_GetAddOnInfo(lua_State* L) {