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

Fix: prefent to crach game in build mode #212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nomisc
Copy link

@nomisc nomisc commented Sep 25, 2024

Add nil checks for manure system mixers to prevent crash in onDelete

  • Added checks to ensure spec_manureSystemPlaceableMixers and its mixers table are not nil before attempting to unload mixers.
  • This prevents potential crashes caused by attempting to iterate over a nil table.

#201

…lete

- Added checks to ensure spec_manureSystemPlaceableMixers and its mixers table are not nil before attempting to unload mixers.
- This prevents potential crashes caused by attempting to iterate over a nil table.
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