feat: Implement initial main game scene with gridmap, player, and core managers.
This commit is contained in:
@@ -1953,11 +1953,6 @@ func sync_goals(new_goals: Array):
|
||||
# Re-check finish availability with new goals
|
||||
race_manager.update_finish_availability()
|
||||
|
||||
# Update the AllPlayerGoals UI
|
||||
var main = get_tree().get_root().get_node_or_null("Main")
|
||||
if main and main.has_method("_update_goals_ui_for_player"):
|
||||
var player_id = get_multiplayer_authority()
|
||||
main._update_goals_ui_for_player(player_id, new_goals)
|
||||
|
||||
@rpc("any_peer", "call_local")
|
||||
func sync_second_lap_goals(new_goals: Array):
|
||||
|
||||
Reference in New Issue
Block a user