Fixed Config Loading Bug #73

Merged
SenseiKiwi merged 1 commits from master into master 2013-08-23 02:58:55 +00:00
Showing only changes of commit 2b1d80f9f9 - Show all commits

View File

@@ -190,7 +190,16 @@ public class DungeonHelper
if (pack == null)
{
//Load the pack's configuration file
String configPath = directory + File.separator + STANDARD_CONFIG_FILE_NAME;
String configPath;
if (isInternal)
{
configPath = directory + "/" + STANDARD_CONFIG_FILE_NAME;
}
else
{
configPath = directory + File.separator + STANDARD_CONFIG_FILE_NAME;
}
DungeonPackConfig config = loadDungeonPackConfig(configPath, name, isInternal, reader);
if (config == null)
{