Browse Source

Fix incorrect reference to PacketPeerUDP.bind in migrating tutorial

kleonc 2 years ago
parent
commit
f3ada36d06
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/migrating/upgrading_to_godot_4.rst

+ 1 - 1
tutorials/migrating/upgrading_to_godot_4.rst

@@ -430,7 +430,7 @@ table to find its new name.
 - MultiPlayerAPI's ``get_network_unique_id()`` is now ``get_unique_id()``.
 - MultiPlayerAPI's ``has_network_peer()`` is now ``has_multiplayer_peer()``.
 - PacketPeerUDP's ``is_listening()`` is now ``is_bound()``.
-- PacketPeerUDP's ``listen()`` is now ``bound()``.
+- PacketPeerUDP's ``listen()`` is now ``bind()``.
 - ParticleProcessMaterial's ``set_flag()`` is now ``set_particle_flag()``.
 - ResourceFormatLoader's ``get_dependencies()`` is now ``_get_dependencies()``
   (note the leading underscore, which denotes a virtual method).