summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/serialisation/Loader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/serialisation/Loader.cpp b/src/libs/serialisation/Loader.cpp
index c53755f5..162589b6 100644
--- a/src/libs/serialisation/Loader.cpp
+++ b/src/libs/serialisation/Loader.cpp
@@ -112,7 +112,8 @@ Loader::load(SharedPtr<EngineInterface> engine,
cout << " as " << patch_path << endl;
- engine->create_patch(patch_path, patch_poly);
+ if (patch_path != "/")
+ engine->create_patch(patch_path, patch_poly);
/* Load (plugin) nodes */