Skip to content

Commit

Permalink
Update command.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
schwarper committed Aug 26, 2024
1 parent cab3150 commit b8704d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Store/src/command/command.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public static void Command_Gift(CCSPlayerController? player, CommandInfo command

if (Instance.GlobalGiftTimeout[player] > Server.CurrentTime)
{
command.ReplyToCommand(Config.Tag + Instance.Localizer["Gift timeout", Instance.GlobalGiftTimeout[player] - Server.CurrentTime]);
command.ReplyToCommand(Config.Tag + Instance.Localizer["Gift timeout", Math.Ceiling(Instance.GlobalGiftTimeout[player] - Server.CurrentTime)]);
return;
}

Expand Down Expand Up @@ -258,4 +258,4 @@ public static void Command_ResetPlayer(CCSPlayerController? player, CommandInfo

Server.PrintToChatAll(Config.Tag + Instance.Localizer["css_reset", player?.PlayerName ?? "Console", target.PlayerName]);
}
}
}

0 comments on commit b8704d7

Please sign in to comment.