Skip to content

Commit

Permalink
Fix Kill Feed Spacing Consistency Issues
Browse files Browse the repository at this point in the history
- Fixes so structure kills and unit kills both have spaces in the same spots for the console kill feed messages
  • Loading branch information
data-bomb committed Sep 20, 2024
1 parent cd25524 commit cf4599c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Si_Logging/Si_Logging.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ You should have received a copy of the GNU General Public License
using System.Text;
using System.Runtime.CompilerServices;

[assembly: MelonInfo(typeof(HL_Logging), "Half-Life Logger", "1.4.12", "databomb&zawedcvg", "https://github.com/data-bomb/Silica")]
[assembly: MelonInfo(typeof(HL_Logging), "Half-Life Logger", "1.4.13", "databomb&zawedcvg", "https://github.com/data-bomb/Silica")]
[assembly: MelonGame("Bohemia Interactive", "Silica")]
[assembly: MelonOptionalDependencies("Admin Mod")]

Expand Down Expand Up @@ -699,7 +699,7 @@ public static void Postfix(Target __0, GameObject __1)

if (Pref_Log_PlayerConsole_Enable.Value)
{
string ConsoleLine = "<b>" + HelperMethods.GetTeamColor(attackerPlayer) + attackerPlayer.PlayerName + "</color></b> destroyed a " + (__0.OwnerConstructionSite == null ? "structure" : "construction site") + "(" + HelperMethods.GetTeamColor(__0.Team) + structName + "</color>)";
string ConsoleLine = "<b>" + HelperMethods.GetTeamColor(attackerPlayer) + attackerPlayer.PlayerName + "</color></b> destroyed a " + (__0.OwnerConstructionSite == null ? "structure" : "construction site") + " (" + HelperMethods.GetTeamColor(__0.Team) + structName + "</color>)";
HelperMethods.SendConsoleMessageToTeam(attackerPlayer.Team, ConsoleLine);
}
}
Expand Down

0 comments on commit cf4599c

Please sign in to comment.