From ebc03ad3dd88b1fb67d4bf2cc0b7aff1d78c156d Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Fri, 6 Jan 2023 17:54:16 +0100 Subject: fix color order --- webAO/packets/handlers/handleFL.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'webAO/packets/handlers/handleFL.ts') diff --git a/webAO/packets/handlers/handleFL.ts b/webAO/packets/handlers/handleFL.ts index 378d5a9..89df4ed 100644 --- a/webAO/packets/handlers/handleFL.ts +++ b/webAO/packets/handlers/handleFL.ts @@ -15,13 +15,10 @@ export const handleFL = (args: string[]) => { document.getElementById("textcolor") ); - colorselect.options[colorselect.options.length] = new Option( - "Yellow", - "5" - ); - colorselect.options[colorselect.options.length] = new Option("Grey", "6"); - colorselect.options[colorselect.options.length] = new Option("Pink", "7"); - colorselect.options[colorselect.options.length] = new Option("Cyan", "8"); + colorselect.options[colorselect.options.length] = new Option("Yellow","5"); + colorselect.options[colorselect.options.length] = new Option("Pink", "6"); + colorselect.options[colorselect.options.length] = new Option("Cyan", "7"); + colorselect.options[colorselect.options.length] = new Option("Grey", "8"); } if (args.includes("cccc_ic_support")) { -- cgit From 74d4eda18f2d5a98abaaf978dad6afa39864d8f7 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Mon, 30 Jan 2023 19:37:13 +0100 Subject: client users be like: --- webAO/packets/handlers/handleFL.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'webAO/packets/handlers/handleFL.ts') diff --git a/webAO/packets/handlers/handleFL.ts b/webAO/packets/handlers/handleFL.ts index 89df4ed..22dfff5 100644 --- a/webAO/packets/handlers/handleFL.ts +++ b/webAO/packets/handlers/handleFL.ts @@ -18,7 +18,8 @@ export const handleFL = (args: string[]) => { colorselect.options[colorselect.options.length] = new Option("Yellow","5"); colorselect.options[colorselect.options.length] = new Option("Pink", "6"); colorselect.options[colorselect.options.length] = new Option("Cyan", "7"); - colorselect.options[colorselect.options.length] = new Option("Grey", "8"); + colorselect.options[colorselect.options.length] = new Option("Grey", "8"); + colorselect.options[colorselect.options.length] = new Option("Rainbow", "9"); } if (args.includes("cccc_ic_support")) { -- cgit From 56fa48be906354c340a928bd6f44c5eed849ca02 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Mon, 30 Jan 2023 19:44:20 +0100 Subject: Revert "client users be like:" This reverts commit 74d4eda18f2d5a98abaaf978dad6afa39864d8f7. --- webAO/packets/handlers/handleFL.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'webAO/packets/handlers/handleFL.ts') diff --git a/webAO/packets/handlers/handleFL.ts b/webAO/packets/handlers/handleFL.ts index 22dfff5..89df4ed 100644 --- a/webAO/packets/handlers/handleFL.ts +++ b/webAO/packets/handlers/handleFL.ts @@ -18,8 +18,7 @@ export const handleFL = (args: string[]) => { colorselect.options[colorselect.options.length] = new Option("Yellow","5"); colorselect.options[colorselect.options.length] = new Option("Pink", "6"); colorselect.options[colorselect.options.length] = new Option("Cyan", "7"); - colorselect.options[colorselect.options.length] = new Option("Grey", "8"); - colorselect.options[colorselect.options.length] = new Option("Rainbow", "9"); + colorselect.options[colorselect.options.length] = new Option("Grey", "8"); } if (args.includes("cccc_ic_support")) { -- cgit