← Alle PRs
#1266

Area-demolish: type+position mark keys — wires under machines (f851f8)

sauber CI rot GitHub ↗

feat/area-demolish-wire · PurpleFuchs · 2 Dateien · +73 −47 · 2026-10-28

Zusammenfassung

Card f851f8 — Kabel unter Maschinen-Footprint bleibt stehen

With the wire layer visible, a tile carries both Type.Machine and Type.Wire — but getHoverTargetType returned only the priority winner and FILE_MarkMap deduped by position alone, so wires under every footprint cell (not just the anchor) survived demolish.

Changes (Option B, Kai-agreed)

Verified: luajit per-file + lovec .syntaxchk 4056/0.

Geänderte Dateien (2)
Source/GuiElements/DrawGatheringProgress.luageändert+11 −5
Source/Objects/AreaDemolishManager.luageändert+62 −42