update game_menu
This commit was merged in pull request #40.
This commit is contained in:
@@ -19,6 +19,8 @@ func setup() -> void:
|
||||
_add_collectible(collectible)
|
||||
if unlocked_collectible_ids.has(collectible.id):
|
||||
_unlock_collectible(collectible.id)
|
||||
if is_inside_tree():
|
||||
await get_tree().process_frame
|
||||
|
||||
func on_collectible_unlocked(collectible_id: StringName) -> void:
|
||||
_unlock_collectible(collectible_id)
|
||||
|
||||
Reference in New Issue
Block a user