Skip to content

Commit

Permalink
Update NanobotBuildAndRepairSystemBlock.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
InvalidArgument3 committed Dec 2, 2024
1 parent bc246db commit 731c6ad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ private void UpdateBeforeSimulation10_100(bool fast)
NotifyPlayersInRange(
"Only one Build And Repair System can be powered per grid group",
_Welder.GetPosition(),
100,
1000,
"Red"
);
return;
Expand Down Expand Up @@ -563,7 +563,7 @@ private void NotifyPlayersInRange(string message, Vector3D position, double radi
var character = entity as IMyCharacter;
if (character != null && character.IsPlayer)
{
MyAPIGateway.Utilities.ShowNotification(message, 2000, color);
MyAPIGateway.Utilities.CreateNotification(message, 2000, color);
}
}
}
Expand Down

0 comments on commit 731c6ad

Please sign in to comment.