Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/editorwindow.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/editorwindow.cc b/src/editorwindow.cc
index f9a01c0..88ed470 100644
--- a/src/editorwindow.cc
+++ b/src/editorwindow.cc
@@ -113,6 +113,10 @@ bool EditorWindow::loadFile(const QString &filename)
} else if (ini.got_section("ship")) {
in_entity = false;
in_subsection = true;
+
+ } else if (ini.got_section("weapon")) {
+ in_entity = false;
+ in_subsection = true;
} else {
entity = 0;