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.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 3ac90ac61..6ebaf0e96 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -347,11 +347,13 @@ function script Exception {
if (.@gf & RB_GLOBALANNOUNCE)
announce("Error in script: "+.@msg$, bc_all);
- if (.@gf & RB_PLEASEREPORT|RB_DISPBOTTOM)
- dispbottom("Please take a screenshot and report this bug, explaining how it happened.");
+ if (.@gf & RB_PLEASEREPORT) {
+ if (.@gf & RB_DISPBOTTOM)
+ dispbottom("Please take a screenshot and report this bug, explaining how it happened.");
- if (.@gf & RB_PLEASEREPORT|RB_SPEECH)
- mesc("Please take a screenshot and report this bug, explaining how it happened."), 1;
+ if (.@gf & RB_SPEECH)
+ mesc("Please take a screenshot and report this bug, explaining how it happened."), 1;
+ }
if (.@gf & RB_ISFATAL) {
if (.@gf & RB_SPEECH) {