diff options
author | Erlite <ys.aameziane@gmail.com> | 2022-11-20 23:33:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-20 22:33:23 +0000 |
commit | 70b71ba3d3ad7121c6aabe55271542f55abe4008 (patch) | |
tree | 365c03775ecf6e1a69288d975aa6a00847c036d9 /NorthstarDLL | |
parent | ff48d3c4998835dfca26c3f5db6de91dcf190d83 (diff) | |
download | NorthstarLauncher-70b71ba3d3ad7121c6aabe55271542f55abe4008.tar.gz NorthstarLauncher-70b71ba3d3ad7121c6aabe55271542f55abe4008.zip |
Fix DecodeJSON() not returning SQRESULT_NOTNULL. (#330)
Diffstat (limited to 'NorthstarDLL')
-rw-r--r-- | NorthstarDLL/scriptjson.cpp | 1 |
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( |