From 620efbd0683ad82a498cc60202fd8ab49a65fa1d Mon Sep 17 00:00:00 2001 From: FutureRave Date: Sun, 27 Feb 2022 13:40:19 +0000 Subject: [PATCH] Trigger CI --- src/Components/Modules/Download.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)