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 {