diff options
author | Meji <alvaro.megias@outlook.com> | 2023-01-29 17:42:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-29 17:42:23 +0100 |
commit | 03918978c166c9fb191117a0cae9ba1285bf0e37 (patch) | |
tree | 4eb31986b057483a11d39c826b3deb9dc0f4f35b /src/server/scripts/Commands | |
parent | b6cd49c34d4d02b41ced58b87103123a1532b56c (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.cpp | 2 |
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; } |