Skip to content

Commit 3424c8d

Browse files
committed
remove framerFramedPlayers message that shouldnt exist on front end
1 parent 9c4d00f commit 3424c8d

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

client/src/components/ChatMessage.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ export function translateChatMessage(message: ChatMessage): string {
275275
case "targetWasAttacked":
276276
case "youWereProtected":
277277
case "executionerWon":
278-
case "framerFramedPlayers":
279278
case "gameOver":
280279
case "godfatherForcedMafioso":
281280
case "godfatherForcedYou":
@@ -370,10 +369,10 @@ export type ChatMessage = {
370369
} | {
371370
type: "mayorCantWhisper"
372371
} | {
373-
type: "jailedSomeone",
372+
type: "jailedTarget"
374373
playerIndex: PlayerIndex
375374
} | {
376-
type: "jailedTarget"
375+
type: "jailedSomeone",
377376
playerIndex: PlayerIndex
378377
} | {
379378
type: "jailorDecideExecute"
@@ -452,9 +451,6 @@ export type ChatMessage = {
452451
type: "godfatherForcedYou"
453452
} | {
454453
type: "silenced"
455-
} | {
456-
type: "framerFramedPlayers",
457-
players: PlayerIndex[]
458454
} | {
459455
type: "playerRoleAndWill",
460456
role: Role,

client/src/resources/styling/chatMessage.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"targetWasAttacked": "result",
4141
"youWereProtected": "result",
4242
"executionerWon": "result",
43-
"framerFramedPlayers": "result",
4443
"gameOver": "important center",
4544
"godfatherForcedMafioso": "result",
4645
"godfatherForcedYou": "result",

0 commit comments

Comments
 (0)