Updated UserGame panel

When creating an Game Entry, ensure we also set the chatter, for the
promote alert.
This commit is contained in:
Mario Steele 2026-03-12 01:34:24 -05:00
parent 4f5b58e3d2
commit 803afed2cb

View file

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