From 61cf24a4be949450f7566fd10f8e40452b71ad63 Mon Sep 17 00:00:00 2001 From: SalavatR Date: Sun, 13 Aug 2023 14:34:19 +0600 Subject: [PATCH] fix: missed type in callback --- extension-appsflyer/src/appsflyer_callback.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/extension-appsflyer/src/appsflyer_callback.cpp b/extension-appsflyer/src/appsflyer_callback.cpp index b36d62f..1a6fd1c 100644 --- a/extension-appsflyer/src/appsflyer_callback.cpp +++ b/extension-appsflyer/src/appsflyer_callback.cpp @@ -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);