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

Commit 81a01fd

Browse files
committed
fix: Add Gabriel 'sopax' Lima as translator to README
1 parent ab0a0be commit 81a01fd

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- feat: Add support for admin groups and command overrides
44
- fix: Use of cache, where player not loaded yet
55
- fix: Player not loaded on mapchange
6+
- fix: Add Gabriel 'sopax' Lima as translator to README
67

78
-- 2023.01.23 - V3.1.1
89

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ I really appreciate the help of the following people who translated the plugin i
118118
- [**rcon420**](https://github.com/rcon420): Latvian
119119
- [**criskkky**](https://github.com/criskkky): Spanish
120120
- [**TianxSky**](https://github.com/TianxSky): Chinese (cn)
121+
- [**Gabriel 'sopax' Lima**](https://github.com/gabrielsdelima75): Brazilian Portuguese
121122

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

src/Module/Rank/RankEvents.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,9 @@ public void Initialize_Events(Plugin plugin)
262262
if (!player.PawnIsAlive)
263263
playerKillStreaks[player.Slot] = (0, DateTime.Now);
264264

265-
if (!rankCache[player].PlayedRound)
265+
RankData playerData = rankCache[player];
266+
267+
if (!playerData.PlayedRound)
266268
continue;
267269

268270
if (player.TeamNum <= (int)CsTeam.Spectator)
@@ -279,8 +281,6 @@ public void Initialize_Events(Plugin plugin)
279281

280282
if (Config.RankSettings.RoundEndPoints)
281283
{
282-
RankData playerData = rankCache[player];
283-
284284
if (playerData.RoundPoints > 0)
285285
{
286286
player.PrintToChat($" {plugin.Localizer["k4.general.prefix"]} {plugin.Localizer["k4.ranks.summarypoints.gain", playerData.RoundPoints]}");
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)