moo-man / WFRP4e-FoundryVTT

The premiere system for running grim and perilous games of Warhammer Fantasy Role-play in the Foundry VTT environment.
Apache License 2.0
89 stars 52 forks source link

OpposedTest.swap() throws errors from time to time #2127

Closed Granathar closed 3 months ago

Granathar commented 3 months ago

This function throws errors from time to time, and when used somewhere in scripts it sometimes break the execution. Unfortunately I have no idea why exactly it happens, but it's like 1/5 of times at most.

image

Foundry 11.315 WFRP 7.2.2.