Don't start the server on ready in the editor.

This commit is contained in:
Relintai 2023-08-30 15:16:52 +02:00
parent 25ac0d8f49
commit 4874f08d9d

View File

@ -272,7 +272,7 @@ void WebServerSimple::_notification(int p_what) {
}
} break;
case NOTIFICATION_READY: {
if (_start_on_ready) {
if (!Engine::get_singleton()->is_editor_hint() && _start_on_ready) {
start();
}
} break;