Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
proller committed Nov 19, 2024
1 parent cc4d4d3 commit 78f7fee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/servermap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void MapDatabaseAccessor::loadBlock(v3s16 blockpos, std::string &ret)
ServerMap::ServerMap(const std::string &savedir, IGameDef *gamedef,
EmergeManager *emerge, MetricsBackend *mb):
Map(gamedef),
settings_mgr(savedir + DIR_DELIM + "map_meta.txt"),
settings_mgr(savedir + DIR_DELIM + "map_meta"),
m_emerge(emerge)
{
verbosestream<<FUNCTION_NAME<<std::endl;
Expand Down
2 changes: 1 addition & 1 deletion src/unittest/test_map_settings_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ void TestMapSettingsManager::testMapSettingsManager()
void TestMapSettingsManager::testMapMetaSaveLoad()
{
std::string path = getTestTempDirectory()
+ DIR_DELIM + "foobar" + DIR_DELIM + "map_meta.txt";
+ DIR_DELIM + "foobar" + DIR_DELIM + "map_meta";

makeUserConfig();
Settings &conf = *Settings::getLayer(SL_GLOBAL);
Expand Down

0 comments on commit 78f7fee

Please sign in to comment.