From 7f91b562dee2d5264af87f295c31fe4486749f08 Mon Sep 17 00:00:00 2001 From: Lethalinjectionx Date: Thu, 19 Dec 2024 07:02:26 -0500 Subject: [PATCH] Fixed a syntax error in an `else if` statement by adding a missing closing parenthesis. --- Permissions/Permissions/Private/Main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Permissions/Permissions/Private/Main.cpp b/Permissions/Permissions/Private/Main.cpp index 54d5e72..c6cc9c9 100644 --- a/Permissions/Permissions/Private/Main.cpp +++ b/Permissions/Permissions/Private/Main.cpp @@ -102,9 +102,9 @@ namespace Permissions else if (!HideAllPlayerSuccessMessages && SendMessagesAsNotification) { AsaApi::GetApiUtils().SendNotification(shooter_controller, FColorList::Green, TextSize, DisplayTime, nullptr, message); } - else if (!HideAllPlayerSuccessMessages{ + else if (!HideAllPlayerSuccessMessages) { AsaApi::GetApiUtils().SendServerMessage(shooter_controller, FColorList::Green, message); - } + } } void AddPlayerToGroupCmd(APlayerController* player_controller, FString* cmd, bool)