From f41ce88e5da25742cdd55d31b1e7de32604e13dc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 24 Jun 2019 21:24:59 +0100 Subject: Fix missing const prefixes --- scripts/toy/orgasmControl.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/toy/orgasmControl.groovy b/scripts/toy/orgasmControl.groovy index 503247b..8568067 100644 --- a/scripts/toy/orgasmControl.groovy +++ b/scripts/toy/orgasmControl.groovy @@ -136,6 +136,7 @@ toy.addActivity("postCum", { toy.postCum() }); toy.addActivity("postPermitCum", { // 2 - 4 days from now - toy.addEventIfMissing(CUM, getTime() + (DAY * 2) + getRandom(DAY * 2), PERMIT, CUM); + toy.addEventIfMissing(toy.CUM, toy.getTime() + (toy.DAY * 2) + toy.getRandom(toy.DAY * 2), + toy.PERMIT, toy.CUM); }); } -- cgit v1.2.3