The computer's 'resume' property can now be passed in as a machine property, allowing pages to set and/or override it

This commit is contained in:
Jeff Parsons 2017-06-23 14:21:03 -07:00 committed by Jeff Parsons
commit 0b803b23f1
9 changed files with 35 additions and 34 deletions

View file

@ -235,7 +235,7 @@ class Computer extends Component {
}
var sStatePath = null;
var sResume = parmsComputer['resume'];
var sResume = this.getMachineParm('resume');
if (sResume !== undefined) {
/*
* Decide whether the 'resume' property is a number or the path of a state file to resume.