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

Remove bone-keyed caches in bone extension #3181

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Denneisk
Copy link
Member

  • Removes bone2index
  • Removes bone2entity
  • Reformatted tostring(bone) function. Now operates similarly to Gmod's physobject tostring.
  • Revert bone:index() function
  • Change signature of E2Lib.getBone to return only an entity now

entity2bone still exists because it might be more efficient. Worst case, it'll recache it and that's not that bad.

Fixes #3018

I miss being able to show the index in printing :(

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.

entity:aimBone() does not return a valid bone
2 participants