Skip to content

Commit

Permalink
fix disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitaiMazliah committed Jan 20, 2024
1 parent 19a43d0 commit 3e0d220
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/UI/match/agent_details_panel.gd
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func set_agent(agent: Agent2D):
show()

func close():
_agent.statuses_changed.disconnect(_on_agent_statuses_changed)
hide()

func _process(delta: float) -> void:
Expand Down

0 comments on commit 3e0d220

Please sign in to comment.