summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index db81e47..9298b26 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -280,7 +280,7 @@ void RecordImGuiEntityList() {
ImGui::TableHeadersRow();
uint64_t bucketCount = ECS_GetEntities_BucketCount();
- for (long bucket = 0; bucket <= bucketCount; ++bucket) {
+ for (long bucket = 0; bucket < bucketCount; ++bucket) {
uint64_t itemCount = 0;
auto *entities = ECS_GetEntities(bucket, itemCount);
for (long row = 0; row < itemCount; row++) {