-
Notifications
You must be signed in to change notification settings - Fork 737
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
General - Convert vehicle to objectParent #9801
Conversation
What do you mean with it's better? It decreases readability which is why we didn't do this in the past. Performance gains are negligible. |
There's also |
imo they're all not that readable. I remember imo
I don't think that's too relevant to the code being changed here, I don't think we'll ever be in a situation where we're calling it on dead crew |
I prefer |
Same. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge conflicts!
When merged this pull request will:
vehicle _unit == unit
intoisNull objectParent _unit
, it's better and already used in some areas.