File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -74,11 +74,10 @@ void Game::loadSystems(Engine::ECS::Registry ®istry, const std::string &name)
74
74
[this ](Engine::ECS::Registry &r) { Engine::ECS::Systems::_3D::apply_movable (r, _deltaTime); });
75
75
76
76
else if (name == " spawn_random_within_skybox" )
77
- registry.add_system (
78
- [this ](Engine::ECS::Registry &r) { Engine::ECS::Systems::_3D::spawn_random_within_skybox (r); });
77
+ registry.add_system ([](Engine::ECS::Registry &r) { Engine::ECS::Systems::_3D::spawn_random_within_skybox (r); });
79
78
80
79
else if (name == " handle_collisions" )
81
- registry.add_system ([this ](Engine::ECS::Registry &r) { Engine::ECS::Systems::_3D::handle_collisions (r); });
80
+ registry.add_system ([](Engine::ECS::Registry &r) { Engine::ECS::Systems::_3D::handle_collisions (r); });
82
81
}
83
82
84
83
void Game::loadComponents (Engine::ECS::Registry ®istry, const nl_component &components,
You can’t perform that action at this time.
0 commit comments