Screwing around with some settings

This commit is contained in:
Kayne Ruse
2014-06-02 20:02:19 +10:00
parent 4acd350219
commit d2f03b98dc
7 changed files with 22 additions and 15 deletions
+1 -2
View File
@@ -78,8 +78,7 @@ void ServerApplication::Init(int argc, char** argv) {
//setup the map object
regionPager.GetAllocator()->SetLuaState(luaState);
regionPager.GetFormat()->SetLuaState(luaState);
//TODO: config parameter
regionPager.GetFormat()->SetSaveDir("save/mapname/");
regionPager.GetFormat()->SetSaveDir(config["dir.maps"] + config["map.savename"]);
std::cout << "Prepared the map system" << std::endl;
//push the pager onto the lua registry