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

Rework dependency system #18

Open
fg123 opened this issue Oct 8, 2021 · 0 comments
Open

Rework dependency system #18

fg123 opened this issue Oct 8, 2021 · 0 comments

Comments

@fg123
Copy link
Owner

fg123 commented Oct 8, 2021

Objects should never reference a pointer to another object, instead use ObjectIDs, and we need a better queu-ing system; objects created from single thread tick should not need to be queued:

Example:

PlayerScript Creates WeaponNative
Attaches it to self
WeaponNative still not in actual created state
Tick() called on player before weapon native queued for creation

Errors since there's no script attached

should error on creation since there's no script
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

No branches or pull requests

1 participant