From 0c2ab42d5e63bf4fc7dbc44e12e0f060ad9aa8c9 Mon Sep 17 00:00:00 2001 From: Jeff Hitchcock Date: Mon, 25 Mar 2024 10:36:32 -0700 Subject: [PATCH] [#3298] Fix issue preventing races from being deleted --- module/documents/advancement/size.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/documents/advancement/size.mjs b/module/documents/advancement/size.mjs index 6ee1af5a71..5be8f731f1 100644 --- a/module/documents/advancement/size.mjs +++ b/module/documents/advancement/size.mjs @@ -94,6 +94,6 @@ export default class SizeAdvancement extends Advancement { /** @inheritdoc */ async reverse(level) { this.actor.updateSource({"system.traits.size": "med"}); - this.updateSource({ "value.-=size": null }); + this.updateSource({ "value.size": null }); } }