Skip to content

Commit

Permalink
fix(meta): fixed wrong ID displayed on the World Inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
roby2014 committed Oct 15, 2023
1 parent d967078 commit 0315a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/src/cubos/engine/tools/world_inspector/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static void inspectWorld(Write<World> 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"))
Expand Down

0 comments on commit 0315a52

Please sign in to comment.