X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Fbsdoc.cpp;h=47688a7bfd06e20b37cf312b818fcc8e676a973c;hb=ba016135c4c232c79cb35c92f239579ca3d84df3;hp=1c6e60bf24f4f31cfe50e29bbb66e983ecc77ba8;hpb=665ed3eda32aa26a4063dc4eaae694ddc2f12f50;p=hbs.git diff --git a/bs/bsdoc.cpp b/bs/bsdoc.cpp index 1c6e60b..47688a7 100644 --- a/bs/bsdoc.cpp +++ b/bs/bsdoc.cpp @@ -58,7 +58,8 @@ bool BSDoc::isModified() const int BSDoc::newBattle(QString name) { - m_Battles[name]["Friendly"]["Home Planet"]; + m_Battles[name]["Friendly"]["Home Planet"].setRace("Planet"); + m_Battles[name]["Friendly"]["Home Fleet"]; m_Battles[name]["Hostile"]; modified = true;