Make EntityInspector use Entity<T>,AliveOrNull

wip/source-generators
copygirl 12 months ago
parent 931a86fcea
commit 40cb0045df
  1. 2
      src/gaemstone.Client/Systems/EntityInspector.cs
  2. 2
      src/gaemstone.ECS

@ -108,7 +108,7 @@ public partial class EntityInspector
ref isOpen, ImGuiWindowFlags.NoScrollbar)) {
ImGui.PushFont(ImGui.GetIO().Fonts.Fonts[0]);
var selected = window.GetTargets<Selected>().FirstOrDefault();
var selected = window.GetTargets<Selected>().FirstOrDefault().AliveOrNull();
ActionBarAndPath(window, history, selected);
ImGui.BeginTable("Views", 2, ImGuiTableFlags.Resizable);

@ -1 +1 @@
Subproject commit 42f843e690ec957ff1bb64c6b61e5e80ce13a7e0
Subproject commit 9eade0adb1200223dffcb2077ecbc992569f4080
Loading…
Cancel
Save