summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-03-05 14:06:15 -0300
committerJesusaves <cpntb1@ymail.com>2020-03-05 14:06:15 -0300
commitd937e9d947a16095e09aa98fda3c9c7eec9cfc4a (patch)
tree77cbebc7ce41b0952b3e73d14a3a9307188afb29
parent644a656bb12062c192e3baa4c21cd54f70d10f1c (diff)
downloadserverdata-d937e9d947a16095e09aa98fda3c9c7eec9cfc4a.tar.gz
serverdata-d937e9d947a16095e09aa98fda3c9c7eec9cfc4a.tar.bz2
serverdata-d937e9d947a16095e09aa98fda3c9c7eec9cfc4a.tar.xz
serverdata-d937e9d947a16095e09aa98fda3c9c7eec9cfc4a.zip
Fix missing expRecalc in @exprate event
-rw-r--r--npc/commands/rate-management.txt2
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;