mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Rename method for consistency
This commit is contained in:
parent
529f294e1a
commit
8d2ba32c2b
1 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ namespace SceneManager.Managers
|
||||||
|
|
||||||
internal static void UpdatePlaceholderBarrierPosition()
|
internal static void UpdatePlaceholderBarrierPosition()
|
||||||
{
|
{
|
||||||
DisableBarrierMenuOptionsIfShadowConeTooFar();
|
DisableBarrierMenuOptionsIfPlaceholderTooFar();
|
||||||
if (PlaceholderBarrier)
|
if (PlaceholderBarrier)
|
||||||
{
|
{
|
||||||
PlaceholderBarrier.Heading = BarrierMenu.RotateBarrier.Value;
|
PlaceholderBarrier.Heading = BarrierMenu.RotateBarrier.Value;
|
||||||
|
|
@ -71,7 +71,7 @@ namespace SceneManager.Managers
|
||||||
//Rage.Native.NativeFunction.Natives.SET_ENTITY_TRAFFICLIGHT_OVERRIDE(shadowBarrier, setBarrierTrafficLight.Index);
|
//Rage.Native.NativeFunction.Natives.SET_ENTITY_TRAFFICLIGHT_OVERRIDE(shadowBarrier, setBarrierTrafficLight.Index);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisableBarrierMenuOptionsIfShadowConeTooFar()
|
void DisableBarrierMenuOptionsIfPlaceholderTooFar()
|
||||||
{
|
{
|
||||||
if (!PlaceholderBarrier && UserInput.PlayerMousePositionForBarrier.DistanceTo2D(Game.LocalPlayer.Character.Position) <= Settings.BarrierPlacementDistance)
|
if (!PlaceholderBarrier && UserInput.PlayerMousePositionForBarrier.DistanceTo2D(Game.LocalPlayer.Character.Position) <= Settings.BarrierPlacementDistance)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue