fix: split bullet tax credit update into standalone call (v1.4.4)

Foundry v14 rejects actor.update() silently when one field in the payload
has a schema conflict. The combined update (credits + finances nested paths)
was being dropped entirely, so credits never changed.

Fix: two separate actor.update() calls
1. Credit deduction: update("system.details.credits") alone — critical
2. Finances tracking: update(finances paths) — non-critical, caught silently

Added console.log so GMs can confirm credit deductions in browser console:
  Zero Engine | Bullet Tax: Joe credits 500c -> 440c (-60c)
This commit is contained in:
2026-06-02 22:40:17 +01:00
parent 86df96132e
commit 7de21e290d
2 changed files with 21 additions and 9 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "zero-engine",
"title": "Zero Engine (SLA Industries)",
"description": "A basic game system for SLA Industries using the Zero Engine rules.",
"version": "1.4.3",
"version": "1.4.4",
"compatibility": {
"minimum": 13,
"verified": "14.359"