diff --git a/src/ECS/Systems/Systems.cpp b/src/ECS/Systems/Systems.cpp index 8209ae10..c9ed4edf 100644 --- a/src/ECS/Systems/Systems.cpp +++ b/src/ECS/Systems/Systems.cpp @@ -5,8 +5,8 @@ ** Systems implementation */ -#include "Systems.hpp" #include +#include "Systems.hpp" #include "CustomTypes.hpp" #include "Raylib.hpp" #include "Registry.hpp" @@ -141,6 +141,8 @@ namespace Systems { .getComponents() .insertBack(collisionRect); Registry::getInstance().getComponents().insertBack({}); + Registry::getInstance().getComponents().insertBack( + {playerHealth}); id = Registry::getInstance().addEntity(); Registry::getInstance().getComponents().insertBack(