- added more info to error message

This commit is contained in:
Mark Vejvoda 2012-10-15 00:48:05 +00:00
parent 6c62d675c3
commit b65bdee592
1 changed files with 1 additions and 1 deletions

View File

@ -1518,7 +1518,7 @@ void World::initFactionTypes(GameSettings *gs) {
}
if(gs->getFactionCount() > map.getMaxPlayers()) {
throw megaglest_runtime_error("This map only supports "+intToStr(map.getMaxPlayers())+" players");
throw megaglest_runtime_error("This map only supports "+intToStr(map.getMaxPlayers())+" players, factionCount is " + intToStr(gs->getFactionCount()));
}
//create stats