mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
initial level builder stuff
This commit is contained in:
parent
37654162cb
commit
7ce6b591c0
2 changed files with 52 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue