-
Notifications
You must be signed in to change notification settings - Fork 118
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 a crash with IsPetTitan #701
Fix a crash with IsPetTitan #701
Conversation
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.
Added line checks if the titan has a valid soul, follows formatting conventions of other scripts.
Not tested but I mean its 2 lines ( surely that has never gone wrong )
Since @Zanieon was the one who brought this issue to my attention, I would appreciate if you could run a small test? |
About to run a test right now |
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.
No crashes so far, good to go!
can github actions function please thanks |
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.
Sign-off approval based on the fact that other people already reviewed it. I didn't properly code review nor test this.
if
titan.GetTitanSoul()
returned null (non-pet NPC titan for example) this function would crash when it really shouldn't.