diff --git a/engine/src/cubos/engine/tools/world_inspector/plugin.cpp b/engine/src/cubos/engine/tools/world_inspector/plugin.cpp index 886e2d804..045196f7a 100644 --- a/engine/src/cubos/engine/tools/world_inspector/plugin.cpp +++ b/engine/src/cubos/engine/tools/world_inspector/plugin.cpp @@ -20,7 +20,7 @@ static void inspectWorld(Write world) { ImGui::PushID(n); - ImGui::BulletText("%s", std::to_string(n).c_str()); + ImGui::BulletText("%s", std::to_string(entity.index).c_str()); ImGui::SameLine(); if (ImGui::Button("Select"))