mapio: don't add saved with line in description
This commit is contained in:
parent
066638e7c0
commit
2498129ff3
|
@ -285,15 +285,11 @@ void Map::saveOtbm(const std::string& fileName)
|
||||||
root->startNode(OTBM_MAP_DATA);
|
root->startNode(OTBM_MAP_DATA);
|
||||||
{
|
{
|
||||||
root->addU8(OTBM_ATTR_DESCRIPTION);
|
root->addU8(OTBM_ATTR_DESCRIPTION);
|
||||||
root->addString(stdext::format("%s\nSaved with %s v%s",
|
root->addString(m_attribs.get<std::string>(OTBM_ATTR_DESCRIPTION));
|
||||||
m_attribs.get<std::string>(OTBM_ATTR_DESCRIPTION),
|
|
||||||
g_app.getName(), g_app.getVersion()));
|
|
||||||
|
|
||||||
// spawn file.
|
|
||||||
root->addU8(OTBM_ATTR_SPAWN_FILE);
|
root->addU8(OTBM_ATTR_SPAWN_FILE);
|
||||||
root->addString(spawnFile);
|
root->addString(spawnFile);
|
||||||
|
|
||||||
// house file.
|
|
||||||
root->addU8(OTBM_ATTR_HOUSE_FILE);
|
root->addU8(OTBM_ATTR_HOUSE_FILE);
|
||||||
root->addString(houseFile);
|
root->addString(houseFile);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue