Revert "Added LUA_MULTRET"
This reverts commit af38c606dc37a9b6203533d2fab4e6d93ce72af9.
This commit is contained in:
parent
af38c606dc
commit
7952bbd5f1
@ -347,7 +347,7 @@ static void HandleProductResult(const Command* cmd)
|
||||
IAP_PushError(L, "failed to fetch product", REASON_UNSPECIFIED);
|
||||
}
|
||||
|
||||
int ret = lua_pcall(L, 3, LUA_MULTRET, 0);
|
||||
int ret = lua_pcall(L, 3, 0, 0);
|
||||
if (ret != 0) {
|
||||
dmLogError("Error running callback: %s", lua_tostring(L, -1));
|
||||
lua_pop(L, 1);
|
||||
@ -420,7 +420,7 @@ static void HandlePurchaseResult(const Command* cmd)
|
||||
IAP_PushError(L, "failed to buy product", REASON_UNSPECIFIED);
|
||||
}
|
||||
|
||||
int ret = lua_pcall(L, 3, LUA_MULTRET, 0);
|
||||
int ret = lua_pcall(L, 3, 0, 0);
|
||||
if (ret != 0) {
|
||||
dmLogError("Error running callback: %s", lua_tostring(L, -1));
|
||||
lua_pop(L, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user