diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-10 23:34:09 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-10 23:34:09 +0500 |
| commit | f46c0e11fc38669d752d981867ddd5e6b1713dd0 (patch) | |
| tree | e89ad0b21e4d03cb8df20bcea4e895b7890e02b8 /bot/src/commands/lua.cpp | |
| parent | 50d5c3d36c8f00e9d59073c3a0c710de805ead4e (diff) | |
fix: there was wrong clock type
Diffstat (limited to 'bot/src/commands/lua.cpp')
| -rw-r--r-- | bot/src/commands/lua.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/src/commands/lua.cpp b/bot/src/commands/lua.cpp index 40524dc..5a996ca 100644 --- a/bot/src/commands/lua.cpp +++ b/bot/src/commands/lua.cpp @@ -75,7 +75,7 @@ namespace bot::command::lua { state->set_function("time_current", []() { return static_cast<long long>( std::chrono::duration_cast<std::chrono::seconds>( - std::chrono::steady_clock::now().time_since_epoch()) + std::chrono::system_clock::now().time_since_epoch()) .count()); }); |
