Skip to content

Commit

Permalink
Merge pull request #271 from InvalidArgument3/barfork
Browse files Browse the repository at this point in the history
createnotification for bar
  • Loading branch information
InvalidArgument3 authored Dec 2, 2024
2 parents 6578a49 + 731c6ad commit 711b1c1
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 711b1c1

Please sign in to comment.