This repository was archived by the owner on Jan 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +5
-3
lines changed
Expand file tree Collapse file tree 5 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments