diff --git a/game/src/screens/dashboard/dashboard.gd b/game/src/screens/dashboard/dashboard.gd index 27fcad01..6b0d82ba 100644 --- a/game/src/screens/dashboard/dashboard.gd +++ b/game/src/screens/dashboard/dashboard.gd @@ -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: diff --git a/game/src/screens/dashboard/dashboard.tscn b/game/src/screens/dashboard/dashboard.tscn index 202e5f13..9fce8344 100644 --- a/game/src/screens/dashboard/dashboard.tscn +++ b/game/src/screens/dashboard/dashboard.tscn @@ -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"]