Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
Stylecop and a new line
Browse files Browse the repository at this point in the history
  • Loading branch information
iopietro committed Jan 2, 2023
1 parent 3668be1 commit 523280d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Exiled.CustomRoles/API/Features/CustomRole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ private void OnInternalDying(DyingEventArgs ev)
if (Check(ev.Player))
{
CustomRoles.Instance.StopRagdollPlayers.Add(ev.Player);
Ragdoll.CreateAndSpawn(new RagdollData(ev.Player.ReferenceHub, ev.DamageHandler, Role, ev.Player.Position, Quaternion.Euler(ev.Player.Rotation), ev.Player.DisplayNickname, NetworkTime.time));
Ragdoll.CreateAndSpawn(new RagdollData(ev.Player.ReferenceHub, ev.DamageHandler, Role, ev.Player.Position, Quaternion.Euler(ev.Player.Rotation), ev.Player.DisplayNickname, NetworkTime.time));
}
}
}
Expand Down
1 change: 1 addition & 0 deletions Exiled.Events/EventArgs/Map/ExplodingGrenadeEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public ExplodingGrenadeEventArgs(Player thrower, Vector3 position, EffectGrenade
Projectile = (EffectGrenadeProjectile)Pickup.Get(grenade);
Position = position;
TargetsToAffect = ListPool<Player>.Shared.Rent();

if (Projectile.Base is not ExplosionGrenade)
return;

Expand Down

0 comments on commit 523280d

Please sign in to comment.