-
Notifications
You must be signed in to change notification settings - Fork 116
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 script error related to dropship and player server leave #914
base: main
Are you sure you want to change the base?
Conversation
This is odd, is this still related to that old recurrent issue we talked about the Dropship crash after i reworked its script file? |
This callstack isn't too useful, but perhaps it's |
Looks like it's that actually, i just checked it myself, and that function does 2 calls of that function the first unthreaded one makes |
There's a lot of random files with inconsistent tabs and spaces or like random double tabs in different places. Would a PR to do a simple formatting check over the whole repo be unwelcome? Maybe add a simple CI as well. |
Having a format check for squirrel has been something that has been wanted for a while now |
This has been my number one request for like 2 years btw. See R2Northstar/Northstar#681 |
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.
Code looks good so far now, gj!
If a player leaves the same frame they enter the dropship, the server will crash. This is due to the SetVelocity line.
Code review:
It's a one line change
Testing:
Testing isn't needed, it's literally just an OnDestroy.