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

Add null check to ensure that errors aren't thrown when entering playmode #68

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

HiRoS-neko
Copy link
Contributor

When entering play mode, there were errors that the item no longer existed as it was called during reload,
I simply added a null check prior to calling the offending code
I added the null check there as it seems to only occur in editor, so it avoids the expensive check in runtime

@HiRoS-neko
Copy link
Contributor Author

This fixes #58

@5argon 5argon merged commit 951a1fc into 5argon:master Oct 13, 2023
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.

2 participants