Skip to content
User Avatar
#2093
Auto-translated
And also, the trigger is reset incorrectly; it should be:
Trigger(NEW_DAY_TRIGGER, nil);
the first parameter is the condition, in this case, "new day";
the second parameter is the function that is executed when the condition is met. This is what needs to be reset when the trigger is turned off.