You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[EditorExportPlatform] Move initialization to a dedicated method.
This commit is contained in:
@@ -916,7 +916,7 @@ Ref<Texture2D> EditorExportPlatformWeb::get_run_icon() const {
|
||||
return run_icon;
|
||||
}
|
||||
|
||||
EditorExportPlatformWeb::EditorExportPlatformWeb() {
|
||||
void EditorExportPlatformWeb::initialize() {
|
||||
if (EditorNode::get_singleton()) {
|
||||
server.instantiate();
|
||||
|
||||
|
||||
@@ -148,6 +148,6 @@ public:
|
||||
|
||||
String get_debug_protocol() const override { return "ws://"; }
|
||||
|
||||
EditorExportPlatformWeb();
|
||||
virtual void initialize() override;
|
||||
~EditorExportPlatformWeb();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user