Skip to content

Commit

Permalink
fix: unnecessary teleport
Browse files Browse the repository at this point in the history
  • Loading branch information
derkalle4 committed Jan 8, 2025
1 parent 2da46a1 commit 7adffff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/RollTheDice+DiceChickenLeader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ private Dictionary<string, string> DiceChickenLeader(CCSPlayerController player,
CChicken? chicken = Utilities.CreateEntityByName<CChicken>("chicken");
if (chicken != null)
{
chicken.Teleport(player.Pawn.Value!.AbsOrigin!, player.Pawn.Value.AbsRotation!, player.Pawn.Value.AbsVelocity);
Vector offset = new Vector(
(float)(100 * Math.Cos(2 * Math.PI * i / amountChickens)),
(float)(100 * Math.Sin(2 * Math.PI * i / amountChickens)),
Expand Down

0 comments on commit 7adffff

Please sign in to comment.