aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL
diff options
context:
space:
mode:
authorErlite <ys.aameziane@gmail.com>2022-11-20 23:33:23 +0100
committerGitHub <noreply@github.com>2022-11-20 22:33:23 +0000
commit70b71ba3d3ad7121c6aabe55271542f55abe4008 (patch)
tree365c03775ecf6e1a69288d975aa6a00847c036d9 /NorthstarDLL
parentff48d3c4998835dfca26c3f5db6de91dcf190d83 (diff)
downloadNorthstarLauncher-70b71ba3d3ad7121c6aabe55271542f55abe4008.tar.gz
NorthstarLauncher-70b71ba3d3ad7121c6aabe55271542f55abe4008.zip
Fix DecodeJSON() not returning SQRESULT_NOTNULL. (#330)
Diffstat (limited to 'NorthstarDLL')
-rw-r--r--NorthstarDLL/scriptjson.cpp1
1 files changed, 1 insertions, 0 deletions
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<context>(sqvm, (rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<SourceAllocator>>*)&doc);
+ return SQRESULT_NOTNULL;
}
ADD_SQFUNC(