summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui-inspect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/imgui-inspect.cpp')
-rw-r--r--editor/imgui-inspect.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/imgui-inspect.cpp b/editor/imgui-inspect.cpp
index 3fdbc2af..510fcf32 100644
--- a/editor/imgui-inspect.cpp
+++ b/editor/imgui-inspect.cpp
@@ -6,7 +6,6 @@
#include "src/world.hpp"
#include "src/anim-atlas.hpp"
#include "imgui-raii.hpp"
-#include "chunk.inl"
#include "loader/loader.hpp"
namespace floormat {
@@ -49,7 +48,7 @@ void app::draw_inspector()
if (s.type == entity_type::scenery)
{
auto& s2 = static_cast<scenery&>(s);
- c.with_scenery_update(s, [&] { return entities::inspect_type(s2); });
+ entities::inspect_type(s2);
}
}
if (!is_open)