mirror of https://github.com/OpenTTD/OpenTTD.git
Fix: initialize _switch_mode_time so crash-logs before first game have a realistic time (#12184)
This commit is contained in:
parent
b64ad26068
commit
30716c476f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue