Slight RPC change to the selection menus
parent
1c0b73987d
commit
83e197b5d6
|
@ -40,6 +40,8 @@ function GameScene:update()
|
||||||
self.game:update(inputs, self.ruleset)
|
self.game:update(inputs, self.ruleset)
|
||||||
self.game.grid:update()
|
self.game.grid:update()
|
||||||
DiscordRPC:update({
|
DiscordRPC:update({
|
||||||
|
details = self.game.rpc_details,
|
||||||
|
state = self.game.name,
|
||||||
largeImageKey = "ingame-"..self.game:getBackground().."00"
|
largeImageKey = "ingame-"..self.game:getBackground().."00"
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
|
@ -51,6 +51,8 @@ function ReplayScene:update()
|
||||||
self.game:update(input_copy, self.ruleset)
|
self.game:update(input_copy, self.ruleset)
|
||||||
self.game.grid:update()
|
self.game.grid:update()
|
||||||
DiscordRPC:update({
|
DiscordRPC:update({
|
||||||
|
details = "Viewing a replay",
|
||||||
|
state = self.game.name,
|
||||||
largeImageKey = "ingame-"..self.game:getBackground().."00"
|
largeImageKey = "ingame-"..self.game:getBackground().."00"
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue