Register values now displayed in the recipe

This commit is contained in:
n1474335 2017-09-28 17:35:52 +00:00
parent b86dceb3c6
commit e2ac297102
5 changed files with 58 additions and 0 deletions

View file

@ -61,6 +61,9 @@ WorkerWaiter.prototype.handleChefMessage = function(e) {
case "optionUpdate":
this.app.options[r.data.option] = r.data.value;
break;
case "setRegisters":
this.manager.recipe.setRegisters(r.data.opIndex, r.data.registers);
break;
case "highlightsCalculated":
this.manager.highlighter.displayHighlights(r.data.pos, r.data.direction);
break;