diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-03-05 14:06:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-03-05 14:06:15 -0300 |
commit | d937e9d947a16095e09aa98fda3c9c7eec9cfc4a (patch) | |
tree | 77cbebc7ce41b0952b3e73d14a3a9307188afb29 /npc/commands/rate-management.txt | |
parent | 644a656bb12062c192e3baa4c21cd54f70d10f1c (diff) | |
download | serverdata-d937e9d947a16095e09aa98fda3c9c7eec9cfc4a.tar.gz serverdata-d937e9d947a16095e09aa98fda3c9c7eec9cfc4a.tar.bz2 serverdata-d937e9d947a16095e09aa98fda3c9c7eec9cfc4a.tar.xz serverdata-d937e9d947a16095e09aa98fda3c9c7eec9cfc4a.zip |
Fix missing expRecalc in @exprate event
Diffstat (limited to 'npc/commands/rate-management.txt')
-rw-r--r-- | npc/commands/rate-management.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt index 46d3d7531..bf0135436 100644 --- a/npc/commands/rate-management.txt +++ b/npc/commands/rate-management.txt @@ -47,7 +47,7 @@ OnCall: if (.@new_rate > 0) { // Overwriting previous rate? // Confirmation Required - if (.current_rate != expRateReal()) { + if (expRecalc(.current_rate) != expRateReal()) { setnpcdialogtitle("@rate-managment"); mesc l("WARNING!"), 1; mesc l("A previous exp rate up event is already ongoing."), 1; |