add game duration to info window

This commit is contained in:
Martin Michelsen
2026-03-19 10:37:39 -07:00
parent 6a23e5da0a
commit 55be92a56f
7 changed files with 33 additions and 7 deletions
+2 -1
View File
@@ -73,10 +73,11 @@ ServerState::QuestF960Result::QuestF960Result(
}
}
ServerState::ServerState(const string& config_filename)
ServerState::ServerState(const string& config_filename, bool is_replay)
: creation_time(phosg::now()),
io_context(make_shared<asio::io_context>(1)),
config_filename(config_filename),
is_replay(is_replay),
thread_pool(make_unique<asio::thread_pool>()),
bb_stream_files_cache(new FileContentsCache(3600000000ULL)),
bb_system_cache(new FileContentsCache(3600000000ULL)),