Skip to content

Commit

Permalink
Modified MultPlayer spawnable scene path error checking.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenAEdwards authored and chryan committed Aug 6, 2024
1 parent 56c0848 commit dd27e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/multiplayer/multiplayer_spawner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,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
Expand Down

0 comments on commit dd27e88

Please sign in to comment.