summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/toy.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 07145f2..9cdd26b 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -1378,7 +1378,6 @@ def setupShowCalendar = {
};
// GO!
-setupInitial();
def getDayNum = { Math.floorDiv(getTime() + localTimeOffset() - 14400, 86400) };
def getAvail = { dayNum -> loadInteger("toy.availability.$dayNum") ?: 0 };
def addAvail = { amount ->
@@ -1419,6 +1418,7 @@ if (plannedCheck(LUNCH) || plannedCheck(SHOPPING) || plannedCheck(PARTY)) {
else {
leaveNote(null, null);
}
+setupInitial();
final cycleTime = 6;
while (true) {