Skip to content

Commit

Permalink
remove framerFramedPlayers message that shouldnt exist on front end
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsSammyM committed Dec 13, 2023
1 parent 9c4d00f commit 3424c8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions client/src/components/ChatMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ export function translateChatMessage(message: ChatMessage): string {
case "targetWasAttacked":
case "youWereProtected":
case "executionerWon":
case "framerFramedPlayers":
case "gameOver":
case "godfatherForcedMafioso":
case "godfatherForcedYou":
Expand Down Expand Up @@ -370,10 +369,10 @@ export type ChatMessage = {
} | {
type: "mayorCantWhisper"
} | {
type: "jailedSomeone",
type: "jailedTarget"
playerIndex: PlayerIndex
} | {
type: "jailedTarget"
type: "jailedSomeone",
playerIndex: PlayerIndex
} | {
type: "jailorDecideExecute"
Expand Down Expand Up @@ -452,9 +451,6 @@ export type ChatMessage = {
type: "godfatherForcedYou"
} | {
type: "silenced"
} | {
type: "framerFramedPlayers",
players: PlayerIndex[]
} | {
type: "playerRoleAndWill",
role: Role,
Expand Down
1 change: 0 additions & 1 deletion client/src/resources/styling/chatMessage.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"targetWasAttacked": "result",
"youWereProtected": "result",
"executionerWon": "result",
"framerFramedPlayers": "result",
"gameOver": "important center",
"godfatherForcedMafioso": "result",
"godfatherForcedYou": "result",
Expand Down

1 comment on commit 3424c8d

@vercel
Copy link

@vercel vercel bot commented on 3424c8d Dec 13, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

mafia-game – ./

mafia-game-itssammym.vercel.app
mafia-game.vercel.app
mafia-game-git-00x-main-itssammym.vercel.app

Please sign in to comment.