Skip to content

[BUG] Character sheets from the Shape Changer macro not deleting correctly #152

Open
@nathou54545

Description

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:

  1. Set up the macro correctly,
  2. Select a token, then execute the Shape Changer macro
  3. Choose a target form (exemple : cat) and click on the Shape Change button
  4. Execute the macro on the same token again
  5. Choose another target form (exemple : dog) and click on the Shape Change button
  6. Execute the macro again, but this time click on the Revert Form button
  7. 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
image
After the first shape change
image
After the second shape change
image
After reverting
image

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
    image

Additional context
Haven't reproduced the bug without unnecessary modules

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions