mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Merge pull request #2453 from PrismLauncher/backport-2423-to-release-8.x
[Backport release-8.x] fix incorrect launch time
This commit is contained in:
commit
672c8c8b4c
1 changed files with 1 additions and 1 deletions
|
|
@ -992,7 +992,7 @@ QString MinecraftInstance::getStatusbarDescription()
|
|||
QString description;
|
||||
description.append(tr("Minecraft %1").arg(mcVersion));
|
||||
if (m_settings->get("ShowGameTime").toBool()) {
|
||||
if (lastTimePlayed() > 0) {
|
||||
if (lastTimePlayed() > 0 && lastLaunch() > 0) {
|
||||
QDateTime lastLaunchTime = QDateTime::fromMSecsSinceEpoch(lastLaunch());
|
||||
description.append(
|
||||
tr(", last played on %1 for %2")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue