From 662f13a3747f3b997f04e64fafb6b3c3a2cfe63f Mon Sep 17 00:00:00 2001 From: Matt <97199859+msuddaby@users.noreply.github.com> Date: Wed, 7 Jun 2023 15:41:40 -0600 Subject: [PATCH] Fix texture issue (oops) --- WebMap/WebMap.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebMap/WebMap.cs b/WebMap/WebMap.cs index 89ea587..92e33d3 100644 --- a/WebMap/WebMap.cs +++ b/WebMap/WebMap.cs @@ -55,7 +55,7 @@ public void Awake() { try { var fogTexture = new Texture2D(WebMapConfig.TEXTURE_SIZE, WebMapConfig.TEXTURE_SIZE); var fogBytes = File.ReadAllBytes(fogImagePath); - fogTexture.LoadImage(fogBytes, true); + fogTexture.LoadImage(fogBytes, false); mapDataServer.fogTexture = fogTexture; } catch (Exception e) { Debug.Log("WebMap: Failed to read fog image data from disk... Making new fog image..." + e.Message);