mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-18 03:22:35 +00:00
load_ng_gamedata: In DEVELOP, if a skin's wins exceeds a skin's rounds, set rounds to wins
Basically just for testing this branch, at this rate
This commit is contained in:
parent
cea9a80b2a
commit
4a937936b7
1 changed files with 7 additions and 0 deletions
|
|
@ -555,6 +555,13 @@ void srb2::load_ng_gamedata()
|
|||
|
||||
dummyrecord.wins = skinpair.second.records.wins;
|
||||
dummyrecord.rounds = skinpair.second.records.rounds;
|
||||
|
||||
#ifdef DEVELOP
|
||||
// Only good for testing, not for active play... cheaters never prosper!
|
||||
if (dummyrecord.rounds < dummyrecord.wins)
|
||||
dummyrecord.rounds = dummyrecord.wins;
|
||||
#endif
|
||||
|
||||
dummyrecord.timeplayed = skinpair.second.records.time.total;
|
||||
dummyrecord.modetimeplayed[GDGT_RACE] = skinpair.second.records.time.race;
|
||||
dummyrecord.modetimeplayed[GDGT_BATTLE] = skinpair.second.records.time.battle;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue