generated from krampus/template-godot4
Just for fun -- don't print opponent's hidden move to the console
This commit is contained in:
parent
40386d8ef5
commit
b36baa8081
@ -69,7 +69,7 @@ func set_opponent_name(opp_name: String) -> void:
|
||||
|
||||
@rpc("any_peer", "call_remote", "reliable", 0)
|
||||
func set_opponent_move(move: Move) -> void:
|
||||
print("Opponent set move: ", move)
|
||||
print("Got move from opponent")
|
||||
opponent_move = move
|
||||
opponent_move_label.text = Move.keys()[opponent_move]
|
||||
if move == Move.NONE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user