diff options
author | gumi <mekolat@users.noreply.github.com> | 2016-12-22 14:07:56 -0500 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2016-12-22 14:07:56 -0500 |
commit | 78791f22eb63b9d1c853b8737339f289ed1a3048 (patch) | |
tree | 181bce14f6433c36d41157666aeaca55464a7384 | |
parent | e07d2768399dc4eef5d8eaea54dc356abd18ec44 (diff) | |
download | serverdata-78791f22eb63b9d1c853b8737339f289ed1a3048.tar.gz serverdata-78791f22eb63b9d1c853b8737339f289ed1a3048.tar.bz2 serverdata-78791f22eb63b9d1c853b8737339f289ed1a3048.tar.xz serverdata-78791f22eb63b9d1c853b8737339f289ed1a3048.zip |
only allow `@esp` special values when debug is enabled
-rw-r--r-- | npc/commands/zeny.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/commands/zeny.txt b/npc/commands/zeny.txt index 2948a285..5c5d00c7 100644 --- a/npc/commands/zeny.txt +++ b/npc/commands/zeny.txt @@ -20,7 +20,7 @@ OnCall: .@delta$ = .@atcmd_parameters$[0]; - if (startswith(.@delta$, "--")) + if (debug && startswith(.@delta$, "--")) { Zeny = 0; if (.@delta$ == "---") @@ -28,7 +28,7 @@ OnCall: #MerchantBank = 0; } } - else if (startswith(.@delta$, "++")) + else if (debug && startswith(.@delta$, "++")) { Zeny = 0x7FFFFFFE; if (.@delta$ == "+++") |