|
@@ -15,6 +15,7 @@ menu_off = 1
|
|
|
|
|
|
if $ARGS[0] = 'start' or $ARGS[0] = '':
|
|
if $ARGS[0] = 'start' or $ARGS[0] = '':
|
|
menu_off = 1
|
|
menu_off = 1
|
|
|
|
+ sleepVars['stat_display'] = 1
|
|
killvar '$sleep_events'
|
|
killvar '$sleep_events'
|
|
killvar '$sleep_events_priority'
|
|
killvar '$sleep_events_priority'
|
|
|
|
|
|
@@ -97,6 +98,7 @@ end
|
|
|
|
|
|
if $ARGS[0] = 'exit':
|
|
if $ARGS[0] = 'exit':
|
|
sleepVars['events_done'] = 0
|
|
sleepVars['events_done'] = 0
|
|
|
|
+ sleepVars['stat_display'] = 0
|
|
killvar '$sleep_events'
|
|
killvar '$sleep_events'
|
|
killvar '$sleep_events_priority'
|
|
killvar '$sleep_events_priority'
|
|
killvar 'temp_slev_id'
|
|
killvar 'temp_slev_id'
|
|
@@ -106,6 +108,7 @@ end
|
|
|
|
|
|
if $ARGS[0] = 'continue':
|
|
if $ARGS[0] = 'continue':
|
|
sleepVars['events_done'] = 0
|
|
sleepVars['events_done'] = 0
|
|
|
|
+ sleepVars['stat_display'] = 0
|
|
killvar '$sleep_events'
|
|
killvar '$sleep_events'
|
|
killvar '$sleep_events_priority'
|
|
killvar '$sleep_events_priority'
|
|
killvar 'temp_slev_id'
|
|
killvar 'temp_slev_id'
|