1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Modified MultPlayer spawnable scene path error checking.

This commit is contained in:
Owen Edwards
2024-04-23 18:51:33 -04:00
committed by GitHub
parent c7f56d327d
commit 2343c4208c

View File

@@ -100,7 +100,7 @@ void MultiplayerSpawner::add_spawnable_scene(const String &p_path) {
SpawnableScene sc;
sc.path = p_path;
if (Engine::get_singleton()->is_editor_hint()) {
ERR_FAIL_COND(!FileAccess::exists(p_path));
ERR_FAIL_COND(!ResourceLoader::exists(p_path));
}
spawnable_scenes.push_back(sc);
#ifdef TOOLS_ENABLED