Fix dungeon setup check; resolves #183

This commit is contained in:
Daniel Saukel 2016-11-30 18:50:06 +01:00
parent f6e8be33a5
commit 15a7e586dd

View File

@ -71,7 +71,7 @@ public class Dungeon {
* @return false if there are setup errors
*/
public boolean isSetupCorrect() {
return config.getStartFloor() == null || config.getEndFloor() == null;
return config.getStartFloor() != null && config.getEndFloor() != null;
}
}