diff --git a/src/Components/Modules/Download.cpp b/src/Components/Modules/Download.cpp index 663cdae7..a8607d00 100644 --- a/src/Components/Modules/Download.cpp +++ b/src/Components/Modules/Download.cpp @@ -966,7 +966,8 @@ namespace Components Script::AddFunction("HttpGet", [](Game::scr_entref_t) { - if (!Dedicated::IsEnabled() && !Flags::HasFlag("scriptablehttp")) return; + if (!Dedicated::IsEnabled() && !Flags::HasFlag("scriptablehttp")) + return; const auto* url = Game::Scr_GetString(0); @@ -986,7 +987,8 @@ namespace Components Script::AddFunction("HttpCancel", [](Game::scr_entref_t) { - if (!Dedicated::IsEnabled() && !Flags::HasFlag("scriptablehttp")) return; + if (!Dedicated::IsEnabled() && !Flags::HasFlag("scriptablehttp")) + return; const auto object = Game::Scr_GetObject(0); for (const auto& download : Download::ScriptDownloads)