diff options
| author | Wilson E. Alvarez | 2017-08-12 12:52:50 -0400 |
|---|---|---|
| committer | Wilson E. Alvarez | 2017-08-12 15:12:49 -0400 |
| commit | 428f03cf06d3841b2a593f46aa42912ef5c82f3c (patch) | |
| tree | c006361e19c5ecbc02534496f936d1a4a5ad6ef3 /modules/enet/networked_multiplayer_enet.h | |
| parent | 5052cb2b9104f57d0ff38d80da50bbeceb926e6f (diff) | |
| download | godot-428f03cf06d3841b2a593f46aa42912ef5c82f3c.tar.gz godot-428f03cf06d3841b2a593f46aa42912ef5c82f3c.tar.zst godot-428f03cf06d3841b2a593f46aa42912ef5c82f3c.zip | |
Diffstat (limited to 'modules/enet/networked_multiplayer_enet.h')
| -rw-r--r-- | modules/enet/networked_multiplayer_enet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/enet/networked_multiplayer_enet.h b/modules/enet/networked_multiplayer_enet.h index 8b971adf5..f2c3b838e 100644 --- a/modules/enet/networked_multiplayer_enet.h +++ b/modules/enet/networked_multiplayer_enet.h @@ -113,7 +113,7 @@ public: virtual int get_packet_peer() const; - Error create_server(int p_port, int p_max_peers = 32, int p_in_bandwidth = 0, int p_out_bandwidth = 0); + Error create_server(int p_port, int p_max_clients = 32, int p_in_bandwidth = 0, int p_out_bandwidth = 0); Error create_client(const IP_Address &p_ip, int p_port, int p_in_bandwidth = 0, int p_out_bandwidth = 0); void close_connection(); |
