mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
Merge pull request #386 from phas0r/patch-1
Fix wrong variable name in code example
This commit is contained in:
@@ -171,7 +171,7 @@ Let's get back to the lobby. Imagine that each player that connects to the serve
|
||||
rpc_id(id, "register_player", 1, my_info)
|
||||
# Send the info of existing players
|
||||
for peer_id in player_info:
|
||||
rpc_id(id, "register_player", peer_id, players[peer_id])
|
||||
rpc_id(id, "register_player", peer_id, player_info[peer_id])
|
||||
|
||||
# Call function to update lobby UI here
|
||||
|
||||
|
||||
Reference in New Issue
Block a user