Fix critique: achats bloqués (sentinelle ContractLockPurchase None) #5

Merged
neckfire merged 1 commits from preprod into main 2026-07-15 00:15:14 +00:00
Owner

ContractLockPurchase="None" (sentinelle) traité comme un vrai verrou -> quasi tous les items non achetables. Skip si null/empty/None.

ContractLockPurchase="None" (sentinelle) traité comme un vrai verrou -> quasi tous les items non achetables. Skip si null/empty/None.
neckfire added 1 commit 2026-07-15 00:15:13 +00:00
Regression from the contract-lock feature: the check gated on any non-empty
ContractLockPurchase, but the blueprint data uses the string "None" (not "")
for items with no lock (749/773 items). So virtually every item returned
'Item is locked' before the currency deduction -> players couldn't buy anything
(error shown, K-Marks unchanged). Skip the gate when the value is null/empty/"None".

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
neckfire merged commit 078d2f80be into main 2026-07-15 00:15:14 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neckfire/the-cycle#5