Describe the bug
If i use the Shape Changer macro on the same token two times in a row without reverting to the original form, the first character sheet created by the macro will not be deleted
To Reproduce
Steps to reproduce the behavior:
Set up the macro correctly,
Select a token, then execute the Shape Changer macro
Choose a target form (exemple : cat) and click on the Shape Change button
Execute the macro on the same token again
Choose another target form (exemple : dog) and click on the Shape Change button
Execute the macro again, but this time click on the Revert Form button
Inside the "SWIM Chape Changing" folder, the first character sheet created by the macro should still be here (the cat form)
Expected behavior
Instead, both characters sheets should have been deleted
Screenshots
Before shape change
After the first shape change
After the second shape change
After reverting
Desktop (please complete the following information):
OS: Windows 11
Browser: Directly on the app
FVTT Version: 11.315
SWADE System Version: 3.4.1
SWIM Version: 2.6.1
Other Modules enabled?: Yes, here is the list
Additional context
Haven't reproduced the bug without unnecessary modules
Wow, that is a perfect report, thanks. =)
I'll take a look at it. The code needs to be changed quite a bit anyway in order to deprecate the warpgate functions.
Describe the bug If i use the Shape Changer macro on the same token two times in a row without reverting to the original form, the first character sheet created by the macro will not be deleted
To Reproduce Steps to reproduce the behavior:
Expected behavior Instead, both characters sheets should have been deleted
Screenshots Before shape change After the first shape change After the second shape change After reverting
Desktop (please complete the following information):
Additional context Haven't reproduced the bug without unnecessary modules