diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-06-28 11:41:36 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-06-28 12:29:02 -0700 |
commit | bc66a98377575c7c8e9592e50cbdcf083d6ecaff (patch) | |
tree | d1ecc1c6a99191cce3108199d96fcbe891772f65 /world/map/npc/functions | |
parent | 9018aee73b120bd9c5c414abcb5af6da4c7b1bea (diff) | |
download | serverdata-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/functions')
-rw-r--r-- | world/map/npc/functions/banker.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/world/map/npc/functions/banker.txt b/world/map/npc/functions/banker.txt index 863f3ce1..42348957 100644 --- a/world/map/npc/functions/banker.txt +++ b/world/map/npc/functions/banker.txt @@ -2,7 +2,9 @@ function|script|Banker|{ - if (BankAccount > 0) callsub S_MoveAccount; + if (BankAccount == 0) + goto L_Start; + callsub S_MoveAccount; L_Start: mes "[" + @npcname$ + "]"; |