mirror of
https://github.com/godotengine/godot.git
synced 2025-02-23 23:15:07 +08:00
Merge pull request #90741 from yorickdewid/patch-1
Fix missing return in `StreamPeerTCP::poll` when connection is `STATUS_CONNECTED`
This commit is contained in:
commit
0ae1dcc3d2
@ -51,6 +51,7 @@ Error StreamPeerTCP::poll() {
|
||||
status = STATUS_ERROR;
|
||||
return err;
|
||||
}
|
||||
return OK;
|
||||
} else if (status != STATUS_CONNECTING) {
|
||||
return OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user