Skip to content

Commit

Permalink
dashbaord: reconnect player offer signals
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Oct 11, 2024
1 parent 7fc6484 commit 260b665
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion game/src/screens/dashboard/dashboard.gd
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ func _on_player_offer_confirm() -> void:


func _on_player_offer_cancel() -> void:
_show_active_view(ContentViews.ALL_PLAYERS)
_show_active_view(ContentViews.PLAYER_PROFILE)


func _on_prev_view_pressed() -> void:
Expand Down
2 changes: 2 additions & 0 deletions game/src/screens/dashboard/dashboard.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ text = "NEXT_DAY"
[connection signal="select_player" from="MainContainer/VBoxContainer/MainView/Content/PlayerList" to="." method="_on_player_list_select_player"]
[connection signal="cancel" from="MainContainer/VBoxContainer/MainView/Content/PlayerProfile" to="." method="_on_player_profile_cancel"]
[connection signal="offer" from="MainContainer/VBoxContainer/MainView/Content/PlayerProfile" to="." method="_on_player_profile_offer"]
[connection signal="cancel" from="MainContainer/VBoxContainer/MainView/Content/PlayerOffer" to="." method="_on_player_offer_cancel"]
[connection signal="confirm" from="MainContainer/VBoxContainer/MainView/Content/PlayerOffer" to="." method="_on_player_offer_confirm"]
[connection signal="cancel" from="MainContainer/VBoxContainer/MainView/Content/ContractOffer" to="." method="_on_contract_offer_cancel"]
[connection signal="confirm" from="MainContainer/VBoxContainer/MainView/Content/ContractOffer" to="." method="_on_contract_offer_confirm"]
[connection signal="pressed" from="MainContainer/VBoxContainer/MainView/Buttons/Menu" to="." method="_on_menu_pressed"]
Expand Down

0 comments on commit 260b665

Please sign in to comment.