From cc4873e33866ba86561774a7e55449d59367661e Mon Sep 17 00:00:00 2001 From: fusion32 Date: Fri, 10 Oct 2025 02:17:19 -0300 Subject: switch to blocking poll + fix config, signals, time, non-game login --- src/database_sqlite.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/database_sqlite.cc') diff --git a/src/database_sqlite.cc b/src/database_sqlite.cc index a9b4a58..8a5e526 100644 --- a/src/database_sqlite.cc +++ b/src/database_sqlite.cc @@ -90,7 +90,7 @@ static sqlite3_stmt *PrepareQuery(TDatabase *Database, const char *Text){ ASSERT(EntryText != NULL); if(strcmp(EntryText, Text) == 0){ Stmt = Entry->Stmt; - Entry->LastUsed = g_MonotonicTimeMS; + Entry->LastUsed = GetMonotonicUptimeMS(); break; } } @@ -109,7 +109,7 @@ static sqlite3_stmt *PrepareQuery(TDatabase *Database, const char *Text){ } Entry->Stmt = Stmt; - Entry->LastUsed = g_MonotonicTimeMS; + Entry->LastUsed = GetMonotonicUptimeMS(); Entry->Hash = Hash; }else{ if(sqlite3_stmt_busy(Stmt) != 0){ -- cgit v1.2.3