fixed host client not receiving their id
This commit is contained in:
@@ -196,9 +196,13 @@ layout_mode = 2
|
||||
layout_mode = 2
|
||||
text = "submit bet"
|
||||
|
||||
[node name="EnvironmentManager" type="Node3D" parent="." node_paths=PackedStringArray("own_player_hand")]
|
||||
[node name="EnvironmentManager" type="Node3D" parent="." node_paths=PackedStringArray("own_player_hand", "hand_markers_3", "hand_markers_4", "hand_markers_5", "hand_markers_6")]
|
||||
script = ExtResource("4_7jktm")
|
||||
own_player_hand = NodePath("PlayerHand")
|
||||
own_player_hand = NodePath("PlayerHand0")
|
||||
hand_markers_3 = [NodePath("HandMarker1"), NodePath("HandMarker2")]
|
||||
hand_markers_4 = [NodePath("HandMarker1"), NodePath("HandMarker3"), NodePath("HandMarker2")]
|
||||
hand_markers_5 = [NodePath("HandMarker4"), NodePath("HandMarker1"), NodePath("HandMarker3"), NodePath("HandMarker2")]
|
||||
hand_markers_6 = [NodePath("HandMarker4"), NodePath("HandMarker1"), NodePath("HandMarker3"), NodePath("HandMarker2"), NodePath("HandMarker5")]
|
||||
player_hand_scene = ExtResource("4_fc0e3")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="EnvironmentManager"]
|
||||
@@ -211,26 +215,26 @@ transform = Transform3D(0.970511, 0, 0.241058, -0.137972, 0.820002, 0.555482, -0
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="EnvironmentManager"]
|
||||
environment = SubResource("Environment_fc0e3")
|
||||
|
||||
[node name="PlayerHand" parent="EnvironmentManager" instance=ExtResource("4_fc0e3")]
|
||||
[node name="PlayerHand0" parent="EnvironmentManager" instance=ExtResource("4_fc0e3")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.4, 2.6)
|
||||
|
||||
[node name="Table" parent="EnvironmentManager" instance=ExtResource("7_eow3j")]
|
||||
|
||||
[node name="PlayerHand2" parent="EnvironmentManager" instance=ExtResource("4_fc0e3")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0.4, -2.40681)
|
||||
|
||||
[node name="PlayerHand3" parent="EnvironmentManager" instance=ExtResource("4_fc0e3")]
|
||||
[node name="HandMarker1" type="Marker3D" parent="EnvironmentManager"]
|
||||
transform = Transform3D(-0.906308, 0, -0.422618, 0, 1, 0, 0.422618, 0, -0.906308, -1.8, 0.4, -1.861)
|
||||
|
||||
[node name="PlayerHand4" parent="EnvironmentManager" instance=ExtResource("4_fc0e3")]
|
||||
[node name="HandMarker2" type="Marker3D" parent="EnvironmentManager"]
|
||||
transform = Transform3D(-0.906308, 0, 0.422618, 0, 1, 0, -0.422618, 0, -0.906308, 1.8, 0.4, -1.861)
|
||||
|
||||
[node name="PlayerHand5" parent="EnvironmentManager" instance=ExtResource("4_fc0e3")]
|
||||
[node name="HandMarker3" type="Marker3D" parent="EnvironmentManager"]
|
||||
transform = Transform3D(-1, 0, -1.50996e-07, 0, 1, 0, 1.50996e-07, 0, -1, 0, 0.4, -2.40681)
|
||||
|
||||
[node name="HandMarker4" type="Marker3D" parent="EnvironmentManager"]
|
||||
transform = Transform3D(-0.5, 0, -0.866025, 0, 1, 0, 0.866025, 0, -0.5, -3.2, 0.4, -0.406)
|
||||
|
||||
[node name="PlayerHand6" parent="EnvironmentManager" instance=ExtResource("4_fc0e3")]
|
||||
[node name="HandMarker5" type="Marker3D" parent="EnvironmentManager"]
|
||||
transform = Transform3D(-0.5, 0, 0.866025, 0, 1, 0, -0.866025, 0, -0.5, 3.2, 0.4, -0.406)
|
||||
|
||||
[node name="Table" parent="EnvironmentManager" instance=ExtResource("7_eow3j")]
|
||||
|
||||
[connection signal="client_joined_lobby" from="WebClientTCP" to="HBoxContainer/ClientInterface" method="_on_web_client_tcp_client_joined_lobby"]
|
||||
[connection signal="client_joined_lobby" from="WebClientTCP" to="HBoxContainer/GameUI" method="_on_web_client_tcp_client_joined_lobby"]
|
||||
[connection signal="client_left_lobby" from="WebClientTCP" to="HBoxContainer/ClientInterface" method="_on_web_client_tcp_client_left_lobby"]
|
||||
@@ -253,11 +257,6 @@ transform = Transform3D(-0.5, 0, 0.866025, 0, 1, 0, -0.866025, 0, -0.5, 3.2, 0.4
|
||||
[connection signal="pressed" from="HBoxContainer/ClientInterface/MarginContainer/VBoxContainer/ServerInputs/LeaveLobbyButton" to="HBoxContainer/ClientInterface" method="_on_disconnect_lobby_button_pressed"]
|
||||
[connection signal="pressed" from="HBoxContainer/ClientInterface/MarginContainer/VBoxContainer/ChatContainer/SendMessageButton" to="HBoxContainer/ClientInterface" method="_on_send_message_button_pressed"]
|
||||
[connection signal="pressed" from="HBoxContainer/GameUI/StartGameButton" to="HBoxContainer/GameUI" method="_on_start_game_button_pressed"]
|
||||
[connection signal="pressed" from="HBoxContainer/GameUI/PlayCardButton" to="EnvironmentManager/PlayerHand" method="_on_play_card_button_pressed"]
|
||||
[connection signal="pressed" from="HBoxContainer/GameUI/PlayCardButton" to="EnvironmentManager/PlayerHand0" method="_on_play_card_button_pressed"]
|
||||
[connection signal="pressed" from="HBoxContainer/GameUI/BetContainer/SubmitBetButton" to="HBoxContainer/GameUI" method="_on_submit_bet_button_pressed"]
|
||||
[connection signal="card_selected" from="EnvironmentManager/PlayerHand" to="HBoxContainer/GameUI" method="_on_player_hand_card_selected"]
|
||||
[connection signal="card_selected" from="EnvironmentManager/PlayerHand2" to="HBoxContainer/GameUI" method="_on_player_hand_card_selected"]
|
||||
[connection signal="card_selected" from="EnvironmentManager/PlayerHand3" to="HBoxContainer/GameUI" method="_on_player_hand_card_selected"]
|
||||
[connection signal="card_selected" from="EnvironmentManager/PlayerHand4" to="HBoxContainer/GameUI" method="_on_player_hand_card_selected"]
|
||||
[connection signal="card_selected" from="EnvironmentManager/PlayerHand5" to="HBoxContainer/GameUI" method="_on_player_hand_card_selected"]
|
||||
[connection signal="card_selected" from="EnvironmentManager/PlayerHand6" to="HBoxContainer/GameUI" method="_on_player_hand_card_selected"]
|
||||
[connection signal="card_selected" from="EnvironmentManager/PlayerHand0" to="HBoxContainer/GameUI" method="_on_player_hand_card_selected"]
|
||||
|
||||
Reference in New Issue
Block a user