summaryrefslogtreecommitdiff
path: root/npc/functions/main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r--npc/functions/main.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 6ebaf0e96..807ac6a44 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -356,15 +356,16 @@ function script Exception {
}
if (.@gf & RB_ISFATAL) {
- if (.@gf & RB_SPEECH) {
- mesc l("This error is fatal, we stop execution."), 1;
- close;
- }
if (.@gf & RB_DISPBOTTOM)
dispbottom("This error is fatal, we stop execution.");
if (.@gf & RB_DEBUGMES)
debugmes("[Error] The error is fatal.");
+
+ if (.@gf & RB_SPEECH) {
+ mesc l("This error is fatal, we stop execution."), 1;
+ close;
+ }
end;
}