From a3623bfd96a44650ca7e8f684a054d312f1af92a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 12 Dec 2019 17:46:21 -0300 Subject: The bug: a missing return --- npc/commands/ucp.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/commands/ucp.txt') diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt index 89d533b78..00e46af92 100644 --- a/npc/commands/ucp.txt +++ b/npc/commands/ucp.txt @@ -161,7 +161,7 @@ function script UserCtrlPanel { // GSET_LONGMENU_DENSITY // How many nexts should be queued in a density list // (use higher values if you have few recipes or can scroll) - if (GSET_LONGMENU_DENSITY) + if (!GSET_LONGMENU_DENSITY) mes l("Long Text Wall Density: ") + col(l("Normal"), 1); else mes l("Long Text Wall Density: ") + col(l("Compact")+": "+GSET_LONGMENU_DENSITY, 2); @@ -214,7 +214,7 @@ function script UserCtrlPanel { case 3: GSET_DAILYREWARD_SILENT=!GSET_DAILYREWARD_SILENT; break; case 4: - if (GSET_LONGMENU_DENSITY > 5) + if (GSET_LONGMENU_DENSITY >= 5) GSET_LONGMENU_DENSITY=0; else GSET_LONGMENU_DENSITY+=1; -- cgit v1.2.3-70-g09d2