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: Fix incorrect party during Investigation power #85

Merged
merged 1 commit into from
Sep 30, 2023

Conversation

ShrimpCryptid
Copy link
Owner

@ShrimpCryptid ShrimpCryptid commented Sep 30, 2023

Fixes #84, "President [Investigation] shows wrong loyalty".

This was caused by a bad assumption on the original Investigation prompt card, which assumed it had access to all player roles (which is untrue as of the most recent update). I've changed it so that the prompt gets its data from a packet sent by the server instead, which I think was what it was originally supposed to do.

I've tested this change locally and can confirm that I get the correct role as both Liberal and Fascist players.

@ShrimpCryptid ShrimpCryptid self-assigned this Sep 30, 2023
@ShrimpCryptid ShrimpCryptid linked an issue Sep 30, 2023 that may be closed by this pull request
@ShrimpCryptid ShrimpCryptid changed the base branch from main to development September 30, 2023 04:41
@github-actions
Copy link

Visit the preview URL for this PR (updated for commit ac75a16):

https://secret-hitler-online--pr85-fix-investigation-pa-ugrjdryc.web.app

(expires Sat, 07 Oct 2023 04:42:41 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 1ff8fffee68997d863205853d16b55705cc85efb

@ShrimpCryptid ShrimpCryptid merged commit 80a868e into development Sep 30, 2023
5 checks passed
@ShrimpCryptid ShrimpCryptid deleted the fix/investigation-party branch September 30, 2023 04:46
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.

President Peek shows wrong loyalty
1 participant