fix the issues of PUT action, on client side

This commit is contained in:
2025-03-04 10:29:42 +08:00
parent 23e2e50c0c
commit 2cbb067d5f
3 changed files with 150 additions and 12 deletions
+3
View File
@@ -198,6 +198,9 @@ func set_action_state(new_state):
)
ActionState.PUTTING:
local_player_character.highlight_occupied_playerboard_slots()
# Make sure this is client-friendly
if not multiplayer.is_server():
rpc_id(1, "notify_server_of_action_state", new_state)
ActionState.RANDOMIZING:
local_player_character.highlight_random_valid_cells()
ActionState.ARRANGING: