diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-12-12 15:26:45 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-12-12 15:26:45 -0300 |
| commit | 9f511989217dac3984e838549e33c47d7b16bacd (patch) | |
| tree | 5d52aa1fcfb5341c4f77aa0592d5de3ba5cb4e79 /src/crplayer.cc | |
| parent | 3485791000c76fe0e8788759d033a1ce26294488 (diff) | |
| download | game-9f511989217dac3984e838549e33c47d7b16bacd.tar.gz game-9f511989217dac3984e838549e33c47d7b16bacd.zip | |
fix a problem with saving murder timestamps in player files
Diffstat (limited to 'src/crplayer.cc')
| -rw-r--r-- | src/crplayer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crplayer.cc b/src/crplayer.cc index a082083..4934966 100644 --- a/src/crplayer.cc +++ b/src/crplayer.cc @@ -2557,7 +2557,7 @@ void SavePlayerData(TPlayerData *Slot){ for(int i = 0; i < NARRAY(Slot->MurderTimestamps); i += 1){ // NOTE(fusion): Save murder timestamps for up to a month. if((Now - Slot->MurderTimestamps[i]) < (30 * 24 * 60 * 60)){ - if(FirstMurder){ + if(!FirstMurder){ Script.writeText(","); } Script.writeNumber(Slot->MurderTimestamps[i]); |
