mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Core: Integrate Ref::instantiate where possible
This commit is contained in:
@@ -1082,7 +1082,7 @@ Error EditorExportPlatformIOS::_export_loading_screen_file(const Ref<EditorExpor
|
||||
}
|
||||
|
||||
if (splash.is_null()) {
|
||||
splash = Ref<Image>(memnew(Image(boot_splash_png)));
|
||||
splash.instantiate(boot_splash_png);
|
||||
}
|
||||
|
||||
// Using same image for both @2x and @3x
|
||||
|
||||
Reference in New Issue
Block a user