Skip to content

Commit

Permalink
Merge pull request #10 from HGPoint/master
Browse files Browse the repository at this point in the history
fix: missed type in callback
  • Loading branch information
AGulev committed Aug 13, 2023
2 parents d7fc3fc + 61cf24a commit d926d06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension-appsflyer/src/appsflyer_callback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ static void InvokeCallback(MessageId type, const char* json)
return;
}

lua_pushnumber(L, type);
dmScript::JsonToLua(L, json, strlen(json)); // throws lua error if it fails

int ret = dmScript::PCall(L, 3, 0);
Expand Down

0 comments on commit d926d06

Please sign in to comment.