forked from rosebudai/OpenRCT2-Web
Review fixes
This commit is contained in:
1 parent
e924c00a0d
commit
7aa5a067d1
9 files changed
+9
-29
No files matched your search
@@ -1828,7 +1828,7 @@ std::pair<std::unique_ptr<GameActions::GameAction>, bool> ScriptEngine::CreateGa
|
||||
if (json.empty())
|
||||
{
|
||||
JSValue emptyObj = JS_NewObject(ctx);
|
||||
JSValue jsonVal = JS_JSONStringify(ctx, args, JS_UNDEFINED, JS_UNDEFINED);
|
||||
JSValue jsonVal = JS_JSONStringify(ctx, emptyObj, JS_UNDEFINED, JS_UNDEFINED);
|
||||
json = JSToStdString(ctx, jsonVal);
|
||||
JS_FreeValue(ctx, emptyObj);
|
||||
JS_FreeValue(ctx, jsonVal);
|
||||
|
||||
Reference in new issue
Block a user