From 54b02985892d144fdd39b2899eb14ef9f6229a0d Mon Sep 17 00:00:00 2001 From: paige <88659700+paigeroid@users.noreply.github.com> Date: Wed, 8 Nov 2023 12:48:17 -0600 Subject: [PATCH] Update Stew.js --- src/random/spreads/Stew.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/random/spreads/Stew.js b/src/random/spreads/Stew.js index a4d0603..10ba9be 100644 --- a/src/random/spreads/Stew.js +++ b/src/random/spreads/Stew.js @@ -1,4 +1,6 @@ const Stew = require('@stews/stew'); const random = require('../index.js'); -Stew.newP("random", random); +Stew.newP("random", function() { + return new random(this); +});