From 83e197b5d6b40b3c92580402d4fe8ab07490779d Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Thu, 9 Dec 2021 21:51:41 -0500 Subject: [PATCH] Slight RPC change to the selection menus --- scene/game.lua | 2 ++ scene/replay.lua | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scene/game.lua b/scene/game.lua index dd5b9f4..681002d 100644 --- a/scene/game.lua +++ b/scene/game.lua @@ -40,6 +40,8 @@ function GameScene:update() self.game:update(inputs, self.ruleset) self.game.grid:update() DiscordRPC:update({ + details = self.game.rpc_details, + state = self.game.name, largeImageKey = "ingame-"..self.game:getBackground().."00" }) end diff --git a/scene/replay.lua b/scene/replay.lua index 8507ec2..6b6aa0d 100644 --- a/scene/replay.lua +++ b/scene/replay.lua @@ -51,6 +51,8 @@ function ReplayScene:update() self.game:update(input_copy, self.ruleset) self.game.grid:update() DiscordRPC:update({ + details = "Viewing a replay", + state = self.game.name, largeImageKey = "ingame-"..self.game:getBackground().."00" }) end