From d47ce0b822bf98906af83b0cb04007956348f9bc Mon Sep 17 00:00:00 2001 From: y4my4my4m <8145020+y4my4my4m@users.noreply.github.com> Date: Sun, 14 May 2023 02:36:40 +0900 Subject: [PATCH] Palette Fix --- src/Home/Telnet/Telnet.ZC | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/Home/Telnet/Telnet.ZC b/src/Home/Telnet/Telnet.ZC index 6e3b98dd..1a244319 100644 --- a/src/Home/Telnet/Telnet.ZC +++ b/src/Home/Telnet/Telnet.ZC @@ -827,8 +827,11 @@ init_connection: break; case CH_CTRLT: original_colors = !original_colors; - if (original_colors) = GrPaletteSetStd; - else GrPaletteSet(original_palette); + if (original_colors) PaletteSetStd(FALSE); + else { + GrPaletteSet(original_palette); + LFBFlush; + } break; case CH_CTRLL: PopUpOk("\n\n Not all BBS will work perfectly (yet). \n\n You can load ANSi artwork with Ctrl+O","\n\n\n\t\tMade by y4my4m\n\n"); @@ -855,10 +858,10 @@ init_connection: MenuPop; SettingsPop; - + GrPaletteSet(original_palette); + LFBFlush; } - // dev server // Telnet("localhost", 8888); Telnet; \ No newline at end of file