Issue #181 cleanup and better command handling

This commit is contained in:
Peter Cottle 2014-06-29 16:30:54 -07:00
parent 507291a0c4
commit 2402a7a469
2 changed files with 3 additions and 2 deletions

View file

@ -154,7 +154,9 @@ var Level = Sandbox.extend({
},
startOffCommand: function() {
if (!this.testOption('noStartCommand')) {
console.log(this.options);
var method = this.options.command.get('method');
if (!this.testOption('noStartCommand') && method !== 'importLevelNow') {
Main.getEventBaton().trigger(
'commandSubmitted',
'hint; delay 2000; show goal'