Skip to content

Commit

Permalink
fix(wolf): portal lambdas is for game logic, not pre update
Browse files Browse the repository at this point in the history
  • Loading branch information
Milerius committed Nov 25, 2019
1 parent 5447209 commit ff847e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/wolf-3d/wolf-3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ class game_scene final : public scenes::base_scene
registry.view<entt::tag<"portal"_hs>, transform::properties>().less(functor);
};

system_manager += std::make_unique<ecs::lambda_pre_system>(
system_manager += std::make_unique<ecs::lambda_logic_system>(
registry,
ecs::ftor{.on_update = std::move(portal_update_functor)});

Expand Down

0 comments on commit ff847e9

Please sign in to comment.