summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorHello=) <hello@themanaworld.org>2024-07-20 07:21:37 +0300
committerHello=) <hello@themanaworld.org>2024-07-20 07:21:37 +0300
commit870b2cc2199c0556d44a62b92760a3e584b9a270 (patch)
treefe9c5fddcc76bb2d2994ef59fcfe67e3a1ef3b50 /world/map/npc
parent3cff6e2a77e5f2aeba13156d939c122b5c0cb501 (diff)
downloadserverdata-870b2cc2199c0556d44a62b92760a3e584b9a270.tar.gz
serverdata-870b2cc2199c0556d44a62b92760a3e584b9a270.tar.bz2
serverdata-870b2cc2199c0556d44a62b92760a3e584b9a270.tar.xz
serverdata-870b2cc2199c0556d44a62b92760a3e584b9a270.zip
Revert "V4 - rename weight override char var to HoraK's suggestion"
This reverts commit bab8a25d6d3a2a5f5173654c95d057c65a3fa4f6. Reason: its confusing if PC variable name looks same like server's param name.
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/functions/global_event_handler.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt
index 9db9dd8f..b1c5917e 100644
--- a/world/map/npc/functions/global_event_handler.txt
+++ b/world/map/npc/functions/global_event_handler.txt
@@ -19,7 +19,7 @@ OnPCLoginEvent:
callfunc "ConvertChristmas21"; // Christmas 2021
callfunc "VaultLogin"; // Mirror Lake Protocol biddings
callfunc "VaultLogout"; // Clean some stuff, to be safe
- if (MAXWEIGHT_OVERRIDE) set MaxWeightOverride, MAXWEIGHT_OVERRIDE; // If MAXWEIGHT_OVERRIDE char var set, override max weight (tradebots, etc)
+ if (WEIGHT_LIMIT) set MaxWeightOverride, WEIGHT_LIMIT; // If this char var set, override max weight (tradebots, etc)
// add more here
set @login_event, 2;
end;