Updated UserGame panel
When creating an Game Entry, ensure we also set the chatter, for the promote alert.
This commit is contained in:
parent
4f5b58e3d2
commit
803afed2cb
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ func populate_games() -> void:
|
|||
for game in chatter.steam_games:
|
||||
var inst: GameEntry = GAME_ENTRY.instantiate()
|
||||
inst.steam_app_id = game
|
||||
inst.chatter = chatter
|
||||
inst.type = GameEntry.Type.STEAM
|
||||
inst.game_info_steam_pressed.connect(func(x: SteamAppData):
|
||||
%SteamAppPanel.show()
|
||||
|
|
@ -102,6 +103,7 @@ func populate_games() -> void:
|
|||
for game in chatter.itch_games:
|
||||
var inst: GameEntry = GAME_ENTRY.instantiate()
|
||||
inst.itchio_app_url = chatter.itch_games[game]
|
||||
inst.chatter = chatter
|
||||
inst.type = GameEntry.Type.ITCHIO
|
||||
inst.game_info_itchio_pressesd.connect(func(x: ItchIOAppData):
|
||||
%ItchAppPanel.show()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue