diff --git a/Assets/Scripts/Behaviours/MiniMap.cs b/Assets/Scripts/Behaviours/MiniMap.cs index c3fda40e..c50da13d 100644 --- a/Assets/Scripts/Behaviours/MiniMap.cs +++ b/Assets/Scripts/Behaviours/MiniMap.cs @@ -114,9 +114,6 @@ namespace SanAndreasUnity.Behaviours private int zoomSelector = 2; private Coroutine zoomCoroutine; - // Toggle flags - private bool toggleInfo = true; - // GUI Elements private Texture2D blackPixel, seaPixel; @@ -210,9 +207,6 @@ namespace SanAndreasUnity.Behaviours zoomCoroutine = StartCoroutine(ChangeZoom(zoomIn)); } - if (Input.GetKeyDown(KeyCode.F8)) - toggleInfo = !toggleInfo; - } public static Vector2 WorldPosToMapPos(Vector3 worldPos)