summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/ucp.txt4
-rw-r--r--npc/functions/main.txt1
2 files changed, 3 insertions, 2 deletions
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;
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 95587aa70..5df1999d2 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -19,6 +19,7 @@ function script dnext {
} else {
@dnext+=1;
}
+ return;
}
function script menuaction {