diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-12-19 11:43:50 +0000 | 
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-12-19 11:43:50 +0000 | 
| commit | 7b5b5d0ee73598666f0456406f7e484a2c5a9968 (patch) | |
| tree | 3ab56f281e24cdfdf1c68ec05d252fb835c27a05 /scripts | |
| parent | Fix typos (diff) | |
| download | toy-7b5b5d0ee73598666f0456406f7e484a2c5a9968.zip | |
Fix up menupub-2
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/toy.groovy | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 0a30c4d..3e1334d 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -1544,12 +1544,11 @@ while (true) {  	show("Mistress will summon you when required.");  	if (showButton("Please, Miss?", cycleTime) < cycleTime) {  		def opts = [ -			[ lbl: "Status", act: setupShowState ],  			[ lbl: "Calendar", act: setupShowCalendar ],  			[ lbl: "Confess", act: confess ], -			[ lbl: "Back", act: null ],  		];  		if (is("DEBUG")) { +			opts.push([ lbl: "Status", act: setupShowState ]);  			opts.push([ lbl: "Play", act: playEvent, arg: true ]);  			opts.push([ lbl: "Begin plan", act: beginPlan, arg: LUNCH ]);  		} @@ -1559,6 +1558,7 @@ while (true) {  		TOYTOYS.findAll { is(it) }.each {  			opts.push([ lbl: "May I be un-$it".toString(), act: requestRelease, arg: it ]);  		}; +		opts.push([ lbl: "Back", act: null ]);  		def opt = getSelectedValue("Yes, toy?", opts.collect { it.lbl });  		def act = opts[opt].act;  		if (act) | 
