From 70b71ba3d3ad7121c6aabe55271542f55abe4008 Mon Sep 17 00:00:00 2001 From: Erlite Date: Sun, 20 Nov 2022 23:33:23 +0100 Subject: Fix DecodeJSON() not returning SQRESULT_NOTNULL. (#330) --- NorthstarDLL/scriptjson.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'NorthstarDLL') diff --git a/NorthstarDLL/scriptjson.cpp b/NorthstarDLL/scriptjson.cpp index 8efad7b4..049a7b20 100644 --- a/NorthstarDLL/scriptjson.cpp +++ b/NorthstarDLL/scriptjson.cpp @@ -238,6 +238,7 @@ ADD_SQFUNC( } DecodeJsonTable(sqvm, (rapidjson::GenericValue, rapidjson::MemoryPoolAllocator>*)&doc); + return SQRESULT_NOTNULL; } ADD_SQFUNC( -- cgit v1.2.3