CScriptValRooted replacement in MapGenerator