diff options
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r-- | scripts/toy.groovy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy index 82427ac..5e2be3b 100644 --- a/scripts/toy.groovy +++ b/scripts/toy.groovy @@ -51,7 +51,7 @@ return new Object() { if (!f.exists()) return [:]; return Eval.me(f.text); }; - return [ + DOMME = [ "$DATAFOLDER/images/toy/domme.groovy", "$DATAFOLDER/images/toy/$domme/person.groovy", "$DATAFOLDER/images/toy/$domme/$set/set.groovy" ] @@ -1196,7 +1196,7 @@ return new Object() { // GO! setDefault("toy.owner", "ancilla"); OWNER = loadString("toy.owner"); - DOMME = loadDomme(OWNER); + loadDomme(OWNER); loadModules(this); def getDayNum = { Math.floorDiv(getTime() - localTimeOffset() - 14400, 86400) }; def getAvail = { dayNum -> loadInteger("toy.availability.$dayNum") ?: 0 }; |