mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 23:50:29 +01:00
Fixed collector radius blip updating position to player's position when waypoint's position is not updated
This commit is contained in:
parent
077854ffc1
commit
58a09087ee
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,6 @@ namespace SceneManager
|
||||||
Blip.Color = Color.Blue;
|
Blip.Color = Color.Blue;
|
||||||
if (CollectorRadiusBlip)
|
if (CollectorRadiusBlip)
|
||||||
{
|
{
|
||||||
CollectorRadiusBlip.Position = Game.LocalPlayer.Character.Position;
|
|
||||||
CollectorRadiusBlip.Alpha = 0.5f;
|
CollectorRadiusBlip.Alpha = 0.5f;
|
||||||
CollectorRadiusBlip.Scale = collectorRadius * 0.5f;
|
CollectorRadiusBlip.Scale = collectorRadius * 0.5f;
|
||||||
}
|
}
|
||||||
|
|
@ -130,6 +129,7 @@ namespace SceneManager
|
||||||
void UpdateWaypointBlipPosition()
|
void UpdateWaypointBlipPosition()
|
||||||
{
|
{
|
||||||
Blip.Position = Game.LocalPlayer.Character.Position;
|
Blip.Position = Game.LocalPlayer.Character.Position;
|
||||||
|
CollectorRadiusBlip.Position = Game.LocalPlayer.Character.Position;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue