From f46c0e11fc38669d752d981867ddd5e6b1713dd0 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 10 Apr 2025 23:34:09 +0500 Subject: fix: there was wrong clock type --- bot/src/commands/lua.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot') 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( std::chrono::duration_cast( - std::chrono::steady_clock::now().time_since_epoch()) + std::chrono::system_clock::now().time_since_epoch()) .count()); }); -- cgit v1.2.3