Fix clickmaps (#2967)

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
metalgearsloth
2021-01-11 01:24:33 +11:00
committed by GitHub
parent d403a7fab4
commit aeb3c1832e

View File

@@ -87,6 +87,8 @@ namespace Content.Client.GameObjects.Components
{ {
foreach (var layer in sprite.AllLayers) foreach (var layer in sprite.AllLayers)
{ {
if (!layer.Visible) continue;
if (layer.Texture != null) if (layer.Texture != null)
{ {
if (_clickMapManager.IsOccluding(layer.Texture, if (_clickMapManager.IsOccluding(layer.Texture,