aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Commands
diff options
context:
space:
mode:
authorMeji <alvaro.megias@outlook.com>2023-01-29 17:42:23 +0100
committerGitHub <noreply@github.com>2023-01-29 17:42:23 +0100
commit03918978c166c9fb191117a0cae9ba1285bf0e37 (patch)
tree4eb31986b057483a11d39c826b3deb9dc0f4f35b /src/server/scripts/Commands
parentb6cd49c34d4d02b41ced58b87103123a1532b56c (diff)
Core/Players: Several currency fixes and improvements (#28676)
Diffstat (limited to 'src/server/scripts/Commands')
-rw-r--r--src/server/scripts/Commands/cs_modify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_modify.cpp b/src/server/scripts/Commands/cs_modify.cpp
index c21c559db55..ded5f48b7e5 100644
--- a/src/server/scripts/Commands/cs_modify.cpp
+++ b/src/server/scripts/Commands/cs_modify.cpp
@@ -995,7 +995,7 @@ public:
if (!amount)
return false;
- target->ModifyCurrency(currencyId, amount, true, true);
+ target->ModifyCurrency(currencyId, amount, CurrencyGainSource::Cheat, CurrencyDestroyReason::Cheat);
return true;
}