fix charged spells vulnerability (#612)

This commit is contained in:
MJSailor
2024-08-12 10:46:30 +00:00
committed by GitHub
parent 2881df9886
commit 6073d9a87c
3 changed files with 16 additions and 6 deletions

View File

@@ -132,7 +132,7 @@ public sealed class ChargeActionSystem : SharedChargingSystem
{
if (_chargeLevel > 0 && _charging)
{
RaiseNetworkEvent(new AddWizardChargeEvent(action.ChargeProto));
RaiseNetworkEvent(new AddWizardChargeEvent(GetNetEntity(actionId)));
}
_prevChargeLevel = _chargeLevel;
}