diff options
| author | Fabio Alessandrelli | 2018-05-08 14:40:08 +0200 |
|---|---|---|
| committer | Fabio Alessandrelli | 2018-05-08 21:15:50 +0200 |
| commit | dd546dc5b86e0bb9c397919fd8bfcf8e8460bc38 (patch) | |
| tree | 165735bd43e14a30b08841ead4e0983a851387c7 /modules/enet/networked_multiplayer_enet.cpp | |
| parent | cbb744c4e09c44cd44ab4a21bc3a814c0913f6fe (diff) | |
| download | godot-dd546dc5b86e0bb9c397919fd8bfcf8e8460bc38.tar.gz godot-dd546dc5b86e0bb9c397919fd8bfcf8e8460bc38.tar.zst godot-dd546dc5b86e0bb9c397919fd8bfcf8e8460bc38.zip | |
Diffstat (limited to 'modules/enet/networked_multiplayer_enet.cpp')
| -rw-r--r-- | modules/enet/networked_multiplayer_enet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/enet/networked_multiplayer_enet.cpp b/modules/enet/networked_multiplayer_enet.cpp index bd76c766a..e948df274 100644 --- a/modules/enet/networked_multiplayer_enet.cpp +++ b/modules/enet/networked_multiplayer_enet.cpp @@ -768,8 +768,8 @@ void NetworkedMultiplayerENet::_bind_methods() { ClassDB::bind_method(D_METHOD("set_compression_mode", "mode"), &NetworkedMultiplayerENet::set_compression_mode); ClassDB::bind_method(D_METHOD("get_compression_mode"), &NetworkedMultiplayerENet::get_compression_mode); ClassDB::bind_method(D_METHOD("set_bind_ip", "ip"), &NetworkedMultiplayerENet::set_bind_ip); - ClassDB::bind_method(D_METHOD("get_peer_address"), &NetworkedMultiplayerENet::get_peer_address); - ClassDB::bind_method(D_METHOD("get_peer_port"), &NetworkedMultiplayerENet::get_peer_port); + ClassDB::bind_method(D_METHOD("get_peer_address", "id"), &NetworkedMultiplayerENet::get_peer_address); + ClassDB::bind_method(D_METHOD("get_peer_port", "id"), &NetworkedMultiplayerENet::get_peer_port); ADD_PROPERTY(PropertyInfo(Variant::INT, "compression_mode", PROPERTY_HINT_ENUM, "None,Range Coder,FastLZ,ZLib,ZStd"), "set_compression_mode", "get_compression_mode"); |
