Remove leftover debug info

This commit is contained in:
Liza 2022-10-24 11:09:09 +02:00
parent 1933973fb8
commit 66a96f68b7

View File

@ -128,14 +128,6 @@ namespace Pal.Client
ImGui.Text($"{currentFloorMarkers.Count(x => x != null && x.Type == Palace.ObjectType.Trap)} known traps"); ImGui.Text($"{currentFloorMarkers.Count(x => x != null && x.Type == Palace.ObjectType.Trap)} known traps");
if (_showHoard) if (_showHoard)
ImGui.Text($"{currentFloorMarkers.Count(x => x != null && x.Type == Palace.ObjectType.Hoard)} known hoard coffers"); ImGui.Text($"{currentFloorMarkers.Count(x => x != null && x.Type == Palace.ObjectType.Hoard)} known hoard coffers");
foreach (var m in currentFloorMarkers)
{
var dup = currentFloorMarkers.FirstOrDefault(x => !ReferenceEquals(x, m) && x.GetHashCode() == m.GetHashCode());
if (dup != null)
ImGui.Text($"{m.Type} {m.Position} // {dup.Type} {dup.Position}");
}
} }
else else
ImGui.Text("Could not query current trap/coffer count."); ImGui.Text("Could not query current trap/coffer count.");