Fix clickmaps (#2967)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user