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

Village bug fix #1026

Closed
wants to merge 5 commits into from
Closed

Village bug fix #1026

wants to merge 5 commits into from

Conversation

georgyrudnev
Copy link
Contributor

@georgyrudnev georgyrudnev commented Nov 4, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

  • All new classes have class-level documentation comments, if there are any at all
  • Tests for the changes have been added (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation update
  • Other... Please describe:

What is the current behavior?

UI disappears when entering settlement and clicking "Wait here for some time"

What is the new behavior?

Resolves #818

Other information

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert this file to what is on development

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one seems to be part of the reason why the bug is ocurring. I changed it back how it was before October.

@@ -106,7 +106,7 @@ public void StartPlayerSettlementEncounter(string partyId, string settlementId)
return;
}

if (PlayerEncounter.Current is not null) return;
// if (PlayerEncounter.Current is not null) return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this need to be commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it both ways and it also seems to be related to the bug.

@@ -89,13 +89,13 @@ public void StartPlayerSettlementEncounter(string partyId, string settlementId)
{
if (objectManager.TryGetObject(partyId, out MobileParty mobileParty) == false)
{
Logger.Error("PartyId not found: {id}", partyId);
Logger.Error("PartyId not found: {id}", partyId);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix spacing please

/source/.cr/personal
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/source/.cr/personal
**/.cr/**

@garrettluskey
Copy link
Contributor

This was fixed by #1028

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Bug: Choosing "Wait for some time" in Village Leaves Village
2 participants