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

Commit

Permalink
fix: Time statistics (by @Cruze03)
Browse files Browse the repository at this point in the history
  • Loading branch information
K4ryuu committed Jan 26, 2024
1 parent 1ea0dc7 commit b85aeee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Module/Time/TimeFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ INSERT INTO `{Config.DatabaseSettings.LvLRanksTableName}`
('{lvlSteamID}', '{escapedName}', {playerData.TimeFields["all"]}, UNIX_TIMESTAMP())
ON DUPLICATE KEY UPDATE
`name` = '{escapedName}',
`playtime` = (`playtime` + {playerData.TimeFields["all"]}),
`playtime = '{playerData.TimeFields["all"]}',
`lastconnect` = UNIX_TIMESTAMP();
");
}
Expand Down

1 comment on commit b85aeee

@Cruze03
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@K4ryuu ` after playtime is missing

Please sign in to comment.