initial level builder stuff

This commit is contained in:
Peter Cottle 2013-01-08 09:14:29 -08:00
parent 37654162cb
commit 7ce6b591c0
2 changed files with 52 additions and 1 deletions

View file

@ -65,7 +65,7 @@ var Level = Sandbox.extend({
}, this), this.getAnimationTime() * 1.2);
},
initName: function(options) {
initName: function() {
if (!this.level.name || !this.level.id) {
this.level.name = 'Rebase Classic';
console.warn('REALLY BAD FORM need ids and names');