From 2015ce205703895f2daa0977bf9a8220e87a4129 Mon Sep 17 00:00:00 2001 From: Maroxy Date: Wed, 5 Jan 2022 00:35:12 +0100 Subject: [PATCH] OwO --- src/ts/Launcher.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ts/Launcher.ts b/src/ts/Launcher.ts index 7e1ca79..ff7e94a 100644 --- a/src/ts/Launcher.ts +++ b/src/ts/Launcher.ts @@ -105,14 +105,14 @@ export default class Launcher id: '901534333360304168', // @ts-expect-error - details: 'in-game' ? discord.fields.details : discord.fields.states['in-launcher'], + details: state === 'in-game' ? discord.fields.details : discord.fields.states['in-launcher'], // @ts-expect-error - state: 'in-game' ? discord.fields.states['in-game'] : undefined, + state: state === 'in-game' ? discord.fields.states['in-game'] : false, icon: { // @ts-expect-error - large: state == 'in-launcher' ? 'launcher' : discord.fields.icon + large: state === 'in-launcher' ? 'launcher' : discord.fields.icon }, time: {