summaryrefslogtreecommitdiff
path: root/world/map/npc/botcheck
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-06-28 11:41:36 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-06-28 12:29:02 -0700
commitbc66a98377575c7c8e9592e50cbdcf083d6ecaff (patch)
treed1ecc1c6a99191cce3108199d96fcbe891772f65 /world/map/npc/botcheck
parent9018aee73b120bd9c5c414abcb5af6da4c7b1bea (diff)
downloadserverdata-bc66a98377575c7c8e9592e50cbdcf083d6ecaff.tar.gz
serverdata-bc66a98377575c7c8e9592e50cbdcf083d6ecaff.tar.bz2
serverdata-bc66a98377575c7c8e9592e50cbdcf083d6ecaff.tar.xz
serverdata-bc66a98377575c7c8e9592e50cbdcf083d6ecaff.zip
Refactor all calls within an if, which is illegal
Diffstat (limited to 'world/map/npc/botcheck')
-rw-r--r--world/map/npc/botcheck/announcements.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/world/map/npc/botcheck/announcements.txt b/world/map/npc/botcheck/announcements.txt
index 34e98273..95ca5438 100644
--- a/world/map/npc/botcheck/announcements.txt
+++ b/world/map/npc/botcheck/announcements.txt
@@ -167,8 +167,7 @@ OnTimer3600000:
callsub S_PerformBroadcast;
set $@GMSA_CURRENT_TICK, 0;
set $@GMSA_MAX, $@GMSA_MAX - 1;
- if ($@GMSA_MAX == 0)
- callsub S_StopBroadcast;
- end;
-
-} \ No newline at end of file
+ if ($@GMSA_MAX != 0)
+ end;
+ callsub S_StopBroadcast;
+}