Skip to content

Commit

Permalink
Fix texture issue (oops)
Browse files Browse the repository at this point in the history
  • Loading branch information
msuddaby committed Jun 7, 2023
1 parent 875a1c1 commit 662f13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebMap/WebMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 662f13a

Please sign in to comment.