Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
fix: Add Gabriel 'sopax' Lima as translator to README
Browse files Browse the repository at this point in the history
  • Loading branch information
K4ryuu committed Jan 24, 2024
1 parent ab0a0be commit 81a01fd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- feat: Add support for admin groups and command overrides
- fix: Use of cache, where player not loaded yet
- fix: Player not loaded on mapchange
- fix: Add Gabriel 'sopax' Lima as translator to README

-- 2023.01.23 - V3.1.1

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ I really appreciate the help of the following people who translated the plugin i
- [**rcon420**](https://github.com/rcon420): Latvian
- [**criskkky**](https://github.com/criskkky): Spanish
- [**TianxSky**](https://github.com/TianxSky): Chinese (cn)
- [**Gabriel 'sopax' Lima**](https://github.com/gabrielsdelima75): Brazilian Portuguese

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Expand Down
6 changes: 3 additions & 3 deletions src/Module/Rank/RankEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,9 @@ public void Initialize_Events(Plugin plugin)
if (!player.PawnIsAlive)
playerKillStreaks[player.Slot] = (0, DateTime.Now);
if (!rankCache[player].PlayedRound)
RankData playerData = rankCache[player];
if (!playerData.PlayedRound)
continue;
if (player.TeamNum <= (int)CsTeam.Spectator)
Expand All @@ -279,8 +281,6 @@ public void Initialize_Events(Plugin plugin)
if (Config.RankSettings.RoundEndPoints)
{
RankData playerData = rankCache[player];
if (playerData.RoundPoints > 0)
{
player.PrintToChat($" {plugin.Localizer["k4.general.prefix"]} {plugin.Localizer["k4.ranks.summarypoints.gain", playerData.RoundPoints]}");
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 81a01fd

Please sign in to comment.