From e690960782857733247b34c71d717040ec4f952d Mon Sep 17 00:00:00 2001 From: Mute Date: Thu, 3 Nov 2022 18:20:44 +0000 Subject: [PATCH] Update 'mbchc-local.user.js' --- mbchc-local.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbchc-local.user.js b/mbchc-local.user.js index 1e9ace2..1334e04 100644 --- a/mbchc-local.user.js +++ b/mbchc-local.user.js @@ -291,7 +291,7 @@ char.FocusGroup = this.ensure("invalid AssetGroup", () => window.AssetGroupGet(char.AssetFamily, ag)) let activity = this.ensure("invalid activity", () => window.ActivityAllowedForGroup(char, char.FocusGroup.Name, true).find(a => a.Name === action)) if (activity.Name.endsWith("Item")) { - const item = this.ensure("no toy found", () => window.Player.Appearance.find(i.Asset?.Name === "SpankingToys" && window.AssetSpankingToys.DynamicActivity(char) === activity.Name)) + const item = this.ensure("no toy found", () => window.Player.Appearance.find(i => i.Asset?.Name === "SpankingToys" && window.AssetSpankingToys.DynamicActivity(char) === activity.Name)) window.DialogPublishAction(char, item) } else window.ActivityRun(char, activity) } finally {