From feb49430075ebc41e71744985b363a25e36a34aa Mon Sep 17 00:00:00 2001 From: chendo Date: Sat, 2 Jan 2021 11:52:04 +1100 Subject: [PATCH] Fix missed code formatting --- src/scripting/Scripting.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/scripting/Scripting.cpp b/src/scripting/Scripting.cpp index ab3a63eb..5c37ad3a 100644 --- a/src/scripting/Scripting.cpp +++ b/src/scripting/Scripting.cpp @@ -494,9 +494,11 @@ sol::object Scripting::Execute(const std::string& aFuncName, sol::variadic_args RED4ext::CName name; uint8_t argOffset = 0; - if (pFunc->params.size > 0) { + if (pFunc->params.size > 0) + { auto* pType = pFunc->params[0]->type; - if (pType == pGIType) { + if (pType == pGIType) + { argOffset = 1; } }