Browse Source

[added] sleep_reflections should now only fire once per day, preventing it from firing repeatedly.

anjuna krokus 1 month ago
parent
commit
01d8f88211
1 changed files with 1 additions and 1 deletions
  1. 1 1
      locations/pre_sleep_events.qsrc

+ 1 - 1
locations/pre_sleep_events.qsrc

@@ -37,7 +37,7 @@ if $ARGS[0] = 'start' or $ARGS[0] = '':
 			$sleep_events_priority[] = 'gs ''pre_sleep_events'', ''nichServentSleepEvents_handler'', 1 '
 		end
 
-		gs 'sleep_reflections', 'event_check'
+		if daystart > sleepVars['sleep_reflection_day']: gs 'sleep_reflections', 'event_check'
 
 		gt 'pre_sleep_events', 'mod_sleepevents'
 	end