Update MapManager.cpp