summaryrefslogtreecommitdiff
path: root/npc/functions/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-24 00:57:30 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-24 00:57:30 -0300
commitadd80420d166109872a31e204ddf6d7c59381fc5 (patch)
treef1bca7a4a3412bc7c0ee657dd6ffdda544f75af3 /npc/functions/main.txt
parent4af18cb0cc0b4c3930faa3f521b30b6a93a9dbaa (diff)
downloadserverdata-add80420d166109872a31e204ddf6d7c59381fc5.tar.gz
serverdata-add80420d166109872a31e204ddf6d7c59381fc5.tar.bz2
serverdata-add80420d166109872a31e204ddf6d7c59381fc5.tar.xz
serverdata-add80420d166109872a31e204ddf6d7c59381fc5.zip
Order matters
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;
}