Slight RPC change to the selection menus

pull/54/head
Ishaan Bhardwaj 2021-12-09 21:51:41 -05:00
parent 1c0b73987d
commit 83e197b5d6
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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