Skip to content

Commit

Permalink
Hotfix: fix mining issues with fast mining ships
Browse files Browse the repository at this point in the history
  • Loading branch information
gkapulis committed Jan 4, 2025
1 parent 42f7bf7 commit aab5e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ship_Game/AI/ShipAI/ShipAI.DoAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ void DoMinePlanet(FixedSimTime timeStep, ShipGoal g)

Planet planet = g.TargetPlanet;
Vector2 wantedPos = g.MovePosition;
if (wantedPos.OutsideRadius(Owner.Position, 50))
if (wantedPos.OutsideRadius(Owner.Position, Owner.MaxSTLSpeed * 0.5f))
{
ThrustOrWarpToPos(wantedPos, timeStep, Owner.STLSpeedLimit);
return;
Expand Down

0 comments on commit aab5e14

Please sign in to comment.