Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino

This commit is contained in:
Observer KRypt0n_ 2022-01-06 18:50:56 +02:00
commit 853e5ca975
3 changed files with 8 additions and 8 deletions

View file

@ -51,12 +51,12 @@ settings:
discord:
title: Discord RPC
settings:
title: Discord RPC settings
title: Discord RPC Einstellung
items:
timer: Display spent time
in-launcher: In-launcher text
in-game: In-game text
selectIcon: Select icon
timer: Zeige geschätzte Zeit
in-launcher: Launcher text
in-game: im Spiel text
selectIcon: Icon auswählen
# Verberssungen
enhancements:

View file

@ -53,8 +53,8 @@ settings:
settings:
title: Discord RPC settings
items:
timer: Display spent time
in-launcher: In-launcher text
timer: Show estimated time spent
in-launcher: Launcher text
in-game: In-game text
selectIcon: Select icon

View file

@ -123,7 +123,7 @@ export default class Launcher
time: {
// @ts-expect-error
start: discord.timer ? Math.round(Date.now() / 1000) : 0
start: state === 'in-launcher' ? 0 : discord.timer ? Math.round(Date.now() / 1000) : 0
}
});