mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-05 21:06:58 +03:00
Fixed when game crashes, it doesn't log any time played (#3392)
This commit is contained in:
commit
8d143c7b95
1 changed files with 1 additions and 0 deletions
|
|
@ -171,6 +171,7 @@ void LauncherPartLaunch::on_state(LoggedProcess::State state)
|
|||
case LoggedProcess::Aborted:
|
||||
case LoggedProcess::Crashed: {
|
||||
m_parent->setPid(-1);
|
||||
m_parent->instance()->setMinecraftRunning(false);
|
||||
emitFailed(tr("Game crashed."));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue