From 74164654a61cd5d0f135caeb8208dc76a71bc65a Mon Sep 17 00:00:00 2001 From: roby2014 Date: Wed, 11 Oct 2023 23:13:49 +0100 Subject: [PATCH] fix(meta): fixed wrong ID displayed on the World Inspector --- engine/src/cubos/engine/tools/world_inspector/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/cubos/engine/tools/world_inspector/plugin.cpp b/engine/src/cubos/engine/tools/world_inspector/plugin.cpp index 886e2d8041..045196f7af 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"))