diff --git a/src/RollTheDice+DiceIncreaseSpeed.cs b/src/RollTheDice+DiceIncreaseSpeed.cs index 05c8d2f..60e3b25 100644 --- a/src/RollTheDice+DiceIncreaseSpeed.cs +++ b/src/RollTheDice+DiceIncreaseSpeed.cs @@ -59,7 +59,7 @@ private HookResult EventDiceIncreaseSpeedOnPlayerHurt(EventPlayerHurt @event, Ga if (victim == null) return HookResult.Continue; if (!_playersWithIncreasedSpeed.Contains(victim)) return HookResult.Continue; if (victim == null || victim.PlayerPawn == null || !victim.PlayerPawn.IsValid || victim.PlayerPawn.Value == null || victim.LifeState != (byte)LifeState_t.LIFE_ALIVE) return HookResult.Continue; - AddTimer(0f, () => + Server.NextFrame(() => { if (victim == null || !victim.IsValid