1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

Fix editor crash when StreamPeerSSL is unavilable.

The fix for EditorNode is a bit hacky, but the handling of the buttons
and features there is hacky too (based on enums that might not reflect
the actual state).
This commit is contained in:
Fabio Alessandrelli
2019-07-02 15:28:34 +02:00
parent e9d624d7ce
commit c798173332
2 changed files with 9 additions and 5 deletions

View File

@@ -39,7 +39,9 @@ StreamPeerSSL *(*StreamPeerSSL::_create)() = NULL;
StreamPeerSSL *StreamPeerSSL::create() {
return _create();
if (_create)
return _create();
return NULL;
}
StreamPeerSSL::LoadCertsFromMemory StreamPeerSSL::load_certs_func = NULL;