diff --git a/zig-ecs/src/ecs/utils.zig b/zig-ecs/src/ecs/utils.zig index 44e99a9..a3a3510 100644 --- a/zig-ecs/src/ecs/utils.zig +++ b/zig-ecs/src/ecs/utils.zig @@ -43,7 +43,7 @@ pub fn ReverseSliceIterator(comptime T: type) type { } pub fn reset(self: *@This()) void { - self.index = slice.len; + self.index = self.slice.len; } }; }