Skip to content

Fix: prefent to crach game in build mode#212

Open
nomisc wants to merge 1 commit into
stijnwop:masterfrom
nomisc:master
Open

Fix: prefent to crach game in build mode#212
nomisc wants to merge 1 commit into
stijnwop:masterfrom
nomisc:master

Conversation

@nomisc
Copy link
Copy Markdown

@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