Explorar el Código

Merge pull request #7297 from kleonc/tutorial-migrating-PacketPeerUDP-bind-fix

Max Hilbrunner hace 2 años
padre
commit
cf2bd18494
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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).