fix bug for untranslated levels

This commit is contained in:
Peter Cottle 2013-03-24 14:39:17 -07:00
parent 678e49c864
commit 66da06b8ea
6 changed files with 6 additions and 6 deletions

View file

@ -98,7 +98,7 @@ var getStartDialog = exports.getStartDialog = function(level) {
}
};
var startCopy = _.clone(
level.startDialog[util.getDefaultLocale()] || level.startDialog
level.startDialog[getDefaultLocale()] || level.startDialog
);
startCopy.childViews.unshift(errorAlert);