Fix Melee swing effect rotation (#27494)

* Melee swing effect: Allow rotation

* Make melee weapon effects follow the user
This commit is contained in:
Magnus Larsen
2024-04-30 11:56:41 +00:00
committed by GitHub
parent bf3e9fe3b4
commit f1c36af0a5
3 changed files with 21 additions and 6 deletions

View File

@@ -46,6 +46,7 @@ public sealed partial class MeleeWeaponSystem : SharedMeleeWeaponSystem
public override void Update(float frameTime)
{
base.Update(frameTime);
UpdateEffects(frameTime);
if (!Timing.IsFirstTimePredicted)
return;