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 larva doubling when banished and returned to core #3708

Merged
merged 1 commit into from
Jun 25, 2023

Conversation

Drulikar
Copy link
Contributor

@Drulikar Drulikar commented Jun 24, 2023

About the pull request

This PR fixes an oversight brought up by TheGamer01 where banishing larva can double stored larva because banishment rewards it on death, and if there is still a body that body can also be returned to core. Now returning banished larva just has the same to_chat and effect as regular larva, but there is no additional larva granted.

Also note that readmitting a dead xeno doesn't change the banished status on the mob (if you want to test be sure to set the ckey of the mob to something other than you).

Explain why it's good for the game

No exploiting banishment please.

Testing Photographs and Procedure

Screenshots & Videos

larba

Changelog

🆑 Drathek
fix: Fix a possibility of banished larva refunding double the larva
/:cl:

@github-actions github-actions bot added the Fix Fix one bug, make ten more label Jun 24, 2023
@harryob harryob added this pull request to the merge queue Jun 25, 2023
Merged via the queue into cmss13-devs:master with commit 5cc268b Jun 25, 2023
cm13-github added a commit that referenced this pull request Jun 25, 2023
github-actions bot added a commit that referenced this pull request Jun 25, 2023
@Drulikar Drulikar deleted the Fix_Larva_Banishment branch June 25, 2023 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Fix one bug, make ten more
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants