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 Tarstuff construction destroy mother-supported Tarstuff #41

Merged
merged 2 commits into from
Sep 23, 2020

Conversation

Hypexion
Copy link
Contributor

Fix for this report: http://forum.caravelgames.com/viewtopic.php?TopicID=44634

When tarstuff is constructed in a room by a Citizen, Engineer or script command, the game will later clean up any built tarstuff that's not stable. The function did not check if unstable tarstuff was no a mother, and would also remove that tarstuff.

A test has also been added for this situation.

@mrimer mrimer merged commit a6083f2 into CaravelGames:master Sep 23, 2020
@Hypexion Hypexion deleted the fix-tar-build-collapse branch September 23, 2020 20:42
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