Removed broken avoidance

This commit is contained in:
Marco 2025-01-31 17:43:17 +01:00
commit cd806d2b61
3 changed files with 3 additions and 13 deletions

View file

@ -6,17 +6,6 @@ public partial class TilemapAvoidance : TileMapLayer
[Export] private TileMapLayer _solidLayer;
// Called when the node enters the scene tree for the first time.
public override void _Ready()
{
}
// Called every frame. 'delta' is the elapsed time since the previous frame.
public override void _Process(double delta)
{
}
public override bool _UseTileDataRuntimeUpdate(Vector2I coords)
{
if (_solidLayer.GetUsedCellsById(0).Contains(coords))