mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 23:51:55 +00:00
fixed
This commit is contained in:
@@ -142,7 +142,7 @@ export function createRenderer(
|
||||
}
|
||||
chatModal.g = game;
|
||||
chatModal.eventBus = eventBus;
|
||||
|
||||
|
||||
const multiTabModal = document.querySelector(
|
||||
"multi-tab-modal",
|
||||
) as MultiTabModal;
|
||||
|
||||
@@ -28,22 +28,7 @@ export class ChatModal extends LitElement {
|
||||
return this;
|
||||
}
|
||||
|
||||
private players: string[] = [
|
||||
"Slovakia",
|
||||
"Germany",
|
||||
"Japan",
|
||||
"Anon",
|
||||
"Anon1",
|
||||
"Anon2",
|
||||
"Anon3",
|
||||
"Anon4",
|
||||
"Anon5",
|
||||
"Anon6",
|
||||
"Anon7",
|
||||
"Anon8",
|
||||
"Anon9",
|
||||
"Anon10",
|
||||
];
|
||||
private players: string[] = [];
|
||||
|
||||
private playerSearchQuery: string = "";
|
||||
private previewText: string | null = null;
|
||||
|
||||
+4
-2
@@ -272,8 +272,10 @@ export const MoveWarshipIntentSchema = BaseIntentSchema.extend({
|
||||
|
||||
export const QuickChatIntentSchema = BaseIntentSchema.extend({
|
||||
type: z.literal("quick_chat"),
|
||||
recipient: z.string(),
|
||||
quickChatKey: z.string(),
|
||||
recipient: ID,
|
||||
quickChatKey: z
|
||||
.string()
|
||||
.regex(/^(help|attack|defend|greet|misc)\.[a-zA-Z0-9_]+$/),
|
||||
variables: z.record(z.string()).optional(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user