From e51386252d2ffa3236df74730a361cd893c0a6d1 Mon Sep 17 00:00:00 2001 From: okvdai <108829133+okvdai@users.noreply.github.com> Date: Wed, 3 May 2023 17:42:03 +0200 Subject: [PATCH] Remove unnecessary brackets --- mod/scripts/vscripts/pulse.gnut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/scripts/vscripts/pulse.gnut b/mod/scripts/vscripts/pulse.gnut index 5f75219..fe367ba 100644 --- a/mod/scripts/vscripts/pulse.gnut +++ b/mod/scripts/vscripts/pulse.gnut @@ -41,7 +41,7 @@ void function pulseInit() void functionref(HttpRequestResponse) onSuccess = void function(HttpRequestResponse response) { table JSONDecoded = DecodeJSON(response.body) - if ((JSONDecoded["Major"] == GetConVarString("MajorVersion")) && (JSONDecoded["Minor"] == GetConVarString("MinorVersion")) && (JSONDecoded["Patch"] == GetConVarString("PatchVersion"))) { + if (JSONDecoded["Major"] == GetConVarString("MajorVersion") && JSONDecoded["Minor"] == GetConVarString("MinorVersion") && JSONDecoded["Patch"] == GetConVarString("PatchVersion")) { print(prefix + "v1.2.1 has been loaded and is up to date.") } else { print(prefix + "v1.2.1 has been loaded. Recommend updating to latest version: v" + JSONDecoded["Major"] + "." + JSONDecoded["Minor"] + "." + JSONDecoded["Patch"] + ".")