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

Fix and improve crud test #42

Merged
merged 7 commits into from
Apr 5, 2022
Merged

Fix and improve crud test #42

merged 7 commits into from
Apr 5, 2022

Conversation

mkahvi
Copy link
Contributor

@mkahvi mkahvi commented Mar 20, 2022

Implements actor type selection and synthetic actor toggle. Also small improvements to related code thrown in.

Fixes #39

module/classes/DevModePerformance.mjs Outdated Show resolved Hide resolved
module/classes/DevModeConfig.mjs Outdated Show resolved Hide resolved
mkahvi added 2 commits March 20, 2022 17:52
Foundry doesn't like .update() on synthetic actors
@mkahvi
Copy link
Contributor Author

mkahvi commented Mar 20, 2022

I removed synthetic option as I discovered it wasn't used correctly, and after I fixed it, I also realized Foundry explodes on .update() calls to such. So even if the idea is great (IMO), Foundry doesn't support it (https://gitlab.com/foundrynet/foundryvtt/-/issues/6824).

@mkahvi mkahvi requested a review from akrigline March 20, 2022 16:08
Copy link
Member

@akrigline akrigline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shame that the temporary thing didn't work out. Still thanks for setting up the better system support

@mkahvi mkahvi requested a review from akrigline March 21, 2022 02:25
@akrigline akrigline merged commit 5562d8f into League-of-Foundry-Developers:main Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Actor CRUD test assumes "npc" type exists
2 participants