From 870b2cc2199c0556d44a62b92760a3e584b9a270 Mon Sep 17 00:00:00 2001 From: "Hello=)" Date: Sat, 20 Jul 2024 07:21:37 +0300 Subject: 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. --- world/map/npc/functions/global_event_handler.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'world') 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; -- cgit v1.2.3-70-g09d2