mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 23:50:29 +01:00
Fixed world speedzone not updating correctly when waypoint is updated
This commit is contained in:
parent
c60fc5c032
commit
0c2f9134da
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ namespace SceneManager
|
||||||
if (collectorWaypointChecked)
|
if (collectorWaypointChecked)
|
||||||
{
|
{
|
||||||
IsCollector = true;
|
IsCollector = true;
|
||||||
|
World.RemoveSpeedZone(YieldZone);
|
||||||
YieldZone = World.AddSpeedZone(Game.LocalPlayer.Character.Position, 50f, drivingSpeed);
|
YieldZone = World.AddSpeedZone(Game.LocalPlayer.Character.Position, 50f, drivingSpeed);
|
||||||
if (CollectorRadiusBlip)
|
if (CollectorRadiusBlip)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue