Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

Commit

Permalink
fix: Time command extra symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
K4ryuu committed Dec 29, 2023
1 parent aeaae56 commit 8992c93
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Module/Time/TimeCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ public void Initialize_Commands(Plugin plugin)
playerData.TimeFields[player.PawnIsAlive ? "alive" : "dead"] += (int)Math.Round((now - playerData.Times["Death"]).TotalSeconds);

info.ReplyToCommand($" {plugin.Localizer["k4.general.prefix"]} {plugin.Localizer["k4.times.title", player.PlayerName]}");
info.ReplyToCommand($"--- {plugin.Localizer["k4.times.line1", FormatPlaytime(playerData.TimeFields["all"])]}");
info.ReplyToCommand($"--- {plugin.Localizer["k4.times.line2", FormatPlaytime(playerData.TimeFields["ct"]), FormatPlaytime(playerData.TimeFields["t"])]}");
info.ReplyToCommand($"--- {plugin.Localizer["k4.times.line3", FormatPlaytime(playerData.TimeFields["spec"])]}");
info.ReplyToCommand($"--- {plugin.Localizer["k4.times.line4", FormatPlaytime(playerData.TimeFields["alive"]), FormatPlaytime(playerData.TimeFields["dead"])]}");
info.ReplyToCommand($" {plugin.Localizer["k4.times.line1", FormatPlaytime(playerData.TimeFields["all"])]}");
info.ReplyToCommand($" {plugin.Localizer["k4.times.line2", FormatPlaytime(playerData.TimeFields["ct"]), FormatPlaytime(playerData.TimeFields["t"])]}");
info.ReplyToCommand($" {plugin.Localizer["k4.times.line3", FormatPlaytime(playerData.TimeFields["spec"])]}");
info.ReplyToCommand($" {plugin.Localizer["k4.times.line4", FormatPlaytime(playerData.TimeFields["alive"]), FormatPlaytime(playerData.TimeFields["dead"])]}");
playerData.Times = new Dictionary<string, DateTime>
{
{ "Connect", now },
Expand Down

0 comments on commit 8992c93

Please sign in to comment.