diff --git a/src/EC/Manager.hpp b/src/EC/Manager.hpp index 0f8a05a..b4b3907 100644 --- a/src/EC/Manager.hpp +++ b/src/EC/Manager.hpp @@ -129,12 +129,12 @@ namespace EC { while(!std::get(entities[rhs])) { - --rhs; if(rhs == 0) { currentSize = 0; return; } + --rhs; } if(lhs >= rhs) {