Skip to content

Commit

Permalink
Update ProjectileCE.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
CMDR-Bill-Doors committed Aug 22, 2024
1 parent 6254c8d commit e76c8f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ public virtual void Launch(Thing launcher, Vector2 origin, float shotAngle, floa
this.lerpPosition = props.lerpPosition;
this.GravityFactor = props.Gravity;
}
if (shotHeight >= CollisionVertical.WallCollisionHeight && launcher.Position.Roofed(launcher.Map) && !def.projectile.flyOverhead)
if (shotHeight >= CollisionVertical.WallCollisionHeight && Position.Roofed(launcher.Map) && !def.projectile.flyOverhead)
{
ignoreRoof = true;
}
Expand Down

0 comments on commit e76c8f5

Please sign in to comment.