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