Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make apply-defaults async like update-character #473

Open
romkansk opened this issue Apr 12, 2017 · 0 comments
Open

Make apply-defaults async like update-character #473

romkansk opened this issue Apr 12, 2017 · 0 comments

Comments

@romkansk
Copy link

romkansk commented Apr 12, 2017

When I open pre-existing module and try to set up tokens on the page I have to:

  1. Select all tokens on the layer
  2. Use !shaped-update-character command
  3. Select all tokens again
  4. Use !shaped-apply-defaults command to generate token actions, roll HP and apply configuration from !shaped-config

The last step usually fails with sandbox suspecting infinite loop and stopping.

I suggest making apply-default commad use same async logic as update-character. Moreover if it's possible it would be great if apply-defaults would check character sheet attributes and update it if necessary.

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

No branches or pull requests

2 participants