Resolves #764 -- disableLevelInstructions for global mode change

This commit is contained in:
Peter Cottle 2021-01-11 12:49:28 -07:00
parent ddb3dc93ca
commit 6df4d93880
5 changed files with 37 additions and 0 deletions

View file

@ -84,6 +84,12 @@ var instantCommands = [
msg: intl.str('flip-tree-command')
});
}],
[/^disableLevelInstructions$/, function() {
GlobalStateActions.disableLevelInstructions();
throw new CommandResult({
msg: intl.todo('Level instructions disabled'),
});
}],
[/^refresh$/, function() {
var events = require('../app').getEvents();