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

[BUGFIX] Fix for game crashing with any leader den outsider interaction #3423

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

KiraDragoness
Copy link
Contributor

About The Pull Request

Fixed the game crashing on any interaction with outisders, but reverting the name of the actions to pre-localization.

Fixed interactions with lost cats specifically. They probably broke when the change to keep track of the previous status in the clan was introduced. The game was checking if their status was "lost" and failing, because the lost status is now determined by the boolean cat.outside. So in the check status function, I added a conditional that compares the required lost status with this boolean.

Linked Issues

Fixes: #3379
Fixes: #3192

Proof of Testing

image
image

Changelog/Credits

[BUGFIX]: Fixed crash related to leader den interactions with outsiders

Apparently, this function was expecting a tuple but the entire_supply property returns a dict, causing the random crash. By adding the items method the dictionary returns a tuple.
Fixed the name change for the outsider actions causing a crash.

Fixed interactions with lost cats by .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant