|
@@ -552,7 +552,7 @@ public class GameMapEdPopup : PopupWindowContent
|
|
|
gameMap.showIdent = gameMap.ident;
|
|
gameMap.showIdent = gameMap.ident;
|
|
|
int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[sheetId], "D5"), out GameMapEditor.mapSize_w);
|
|
int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[sheetId], "D5"), out GameMapEditor.mapSize_w);
|
|
|
int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[sheetId], "D6"), out GameMapEditor.mapSize_h);
|
|
int.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[sheetId], "D6"), out GameMapEditor.mapSize_h);
|
|
|
- float.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[mapIdx - 1], "F5"), out gameMap.expRatio);
|
|
|
|
|
|
|
+ float.TryParse(ExcelEditor.GetCellData(package, excelWorksheets[mapIdx], "F5"), out gameMap.expRatio);
|
|
|
gameMap.Resize(GameMapEditor.mapSize_w, GameMapEditor.mapSize_h);
|
|
gameMap.Resize(GameMapEditor.mapSize_w, GameMapEditor.mapSize_h);
|
|
|
gameMap.isDynamic = true;
|
|
gameMap.isDynamic = true;
|
|
|
}
|
|
}
|