diff --git a/Si_Logging/Si_Logging.cs b/Si_Logging/Si_Logging.cs index ddd6ef9..75b4204 100644 --- a/Si_Logging/Si_Logging.cs +++ b/Si_Logging/Si_Logging.cs @@ -699,7 +699,7 @@ public static void Postfix(Target __0, GameObject __1) if (Pref_Log_PlayerConsole_Enable.Value) { - string ConsoleLine = "" + HelperMethods.GetTeamColor(attackerPlayer) + attackerPlayer.PlayerName + " destroyed a " + (__0.OwnerConstructionSite == null ? "construction site" : "structure") + "(" + HelperMethods.GetTeamColor(__0.Team) + structName + ")"; + string ConsoleLine = "" + HelperMethods.GetTeamColor(attackerPlayer) + attackerPlayer.PlayerName + " destroyed a " + (__0.OwnerConstructionSite == null ? "structure" : "construction site") + "(" + HelperMethods.GetTeamColor(__0.Team) + structName + ")"; HelperMethods.SendConsoleMessageToTeam(attackerPlayer.Team, ConsoleLine); } }