From add80420d166109872a31e204ddf6d7c59381fc5 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 24 May 2019 00:57:30 -0300 Subject: Order matters --- npc/functions/main.txt | 9 +++++---- 1 file 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; } -- cgit v1.2.3-60-g2f50