From ff847e97758d66e5a478d85e1e5f536dd7b972ef Mon Sep 17 00:00:00 2001 From: Roman Sztergbaum Date: Mon, 25 Nov 2019 13:50:35 +0100 Subject: [PATCH] fix(wolf): portal lambdas is for game logic, not pre update --- tutorials/wolf-3d/wolf-3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/wolf-3d/wolf-3d.cpp b/tutorials/wolf-3d/wolf-3d.cpp index 2f4e705a..38549c47 100644 --- a/tutorials/wolf-3d/wolf-3d.cpp +++ b/tutorials/wolf-3d/wolf-3d.cpp @@ -910,7 +910,7 @@ class game_scene final : public scenes::base_scene registry.view, transform::properties>().less(functor); }; - system_manager += std::make_unique( + system_manager += std::make_unique( registry, ecs::ftor{.on_update = std::move(portal_update_functor)});