summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/ucp.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index 04743f0f5..87e5bfc64 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -164,6 +164,13 @@ function script UserCtrlPanel {
mes "";
switch (@menu) {
+ case 1:
+ // Update savepoint if needed
+ if (@unsaved) {
+ if (!GSET_SOULMENHIR_MANUAL) savepoint "000-1", 22, 22;
+ else doevent "Emergency Exit::OnSetLX";
+ }
+ break;
case 2:
GSET_SOULMENHIR_MANUAL=!GSET_SOULMENHIR_MANUAL;
@unsaved=true;
@@ -176,13 +183,7 @@ function script UserCtrlPanel {
clear;
} while (@menu != 1);
break;
- case 8:
- // Update savepoint if needed
- if (@unsaved) {
- if (!GSET_SOULMENHIR_MANUAL) savepoint "000-1", 22, 22;
- else doevent "Emergency Exit::OnSetLX";
- }
- close; break;
+ case 8: close; break;
}
} while (1);
}