1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-26 16:09:10 +00:00

Fix: initialize _switch_mode_time so crash-logs before first game have a realistic time (#12184)

This commit is contained in:
Patric Stout
2024-02-27 02:41:59 +01:00
committed by Kuhnovic
parent b64ad26068
commit 30716c476f

View File

@@ -517,6 +517,8 @@ static const OptionData _options[] = {
*/
int openttd_main(int argc, char *argv[])
{
_switch_mode_time = std::chrono::steady_clock::now();
std::string musicdriver;
std::string sounddriver;
std::string videodriver;