MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / saveMapCmd

Method saveMapCmd

radiantcore/map/Map.cpp:1174–1185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1172}
1173
1174void Map::saveMapCmd(const cmd::ArgumentList& args)
1175{
1176 if (isUnnamed() || (_resource && _resource->isReadOnly()))
1177 {
1178 saveAs();
1179 }
1180 // greebo: Always let the map be saved, regardless of the modified status.
1181 else /*if(GlobalMap().isModified())*/
1182 {
1183 save();
1184 }
1185}
1186
1187void Map::exportMap(const cmd::ArgumentList& args)
1188{

Callers

nothing calls this directly

Calls 1

isReadOnlyMethod · 0.45

Tested by

no test coverage detected