1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Display set_nodelay to GDScript

Pass enabled arg

Rename set_nodelay to set_no_delay

Add description to the method

Change description
This commit is contained in:
Marlon Henry Schweigert
2018-01-30 13:22:15 -02:00
parent f12e8568d4
commit 87adf9cfba
9 changed files with 18 additions and 7 deletions

View File

@@ -304,7 +304,7 @@ Error StreamPeerTCPPosix::read(uint8_t *p_buffer, int p_bytes, int &r_received,
return OK;
};
void StreamPeerTCPPosix::set_nodelay(bool p_enabled) {
void StreamPeerTCPPosix::set_no_delay(bool p_enabled) {
ERR_FAIL_COND(!is_connected_to_host());
int flag = p_enabled ? 1 : 0;