diff --git a/libs/B-luga-physics/include/B-luga-physics/ECSCustomTypes.hpp b/libs/B-luga-physics/include/B-luga-physics/ECSCustomTypes.hpp index ec4d468..92f4ef3 100644 --- a/libs/B-luga-physics/include/B-luga-physics/ECSCustomTypes.hpp +++ b/libs/B-luga-physics/include/B-luga-physics/ECSCustomTypes.hpp @@ -20,6 +20,10 @@ namespace Types { struct Health { + Health(int hp) : hp(hp) + { + } + int hp; NLOHMANN_DEFINE_TYPE_INTRUSIVE(Health, hp);