diff options
author | Anton Popovichenko <anton.popovichenko@mendix.com> | 2024-09-03 18:05:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-03 13:05:23 -0300 |
commit | 9999a80c9644027ebc7c46563711b2d713c32c0d (patch) | |
tree | 88198a60d90b45cbf06bb69fb871fe7955a37ac5 /src/common | |
parent | 221dbd3fdbca4348061a5f6da7eb217118866f8c (diff) |
feat(Core/Achievements): Add possibility to complete achievements and update achievement criteria for offline players. (#19851)
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/Common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/Common.h b/src/common/Common.h index cd50104c88..9baec924e5 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -43,7 +43,8 @@ #define MAX_NETCLIENT_PACKET_SIZE (32767 - 1) // Client hardcap: int16 with trailing zero space otherwise crash on memory free // TimeConstants -constexpr auto MINUTE = 60; +constexpr auto SECOND = 1; +constexpr auto MINUTE = SECOND * 60; constexpr auto HOUR = MINUTE * 60; constexpr auto DAY = HOUR * 24; constexpr auto WEEK = DAY * 7; |