Skip to content

Commit b05e5cb

Browse files
committed
Update Service.hpp
1 parent 7c73b39 commit b05e5cb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Foundation/Public/Aurora.Scene/Service.hpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,12 @@ namespace Scene
153153

154154
// -=(Undocumented)=-
155155
template<typename ...Components>
156-
auto System(CStr Name = "")
156+
auto System(CStr Name = "", Entity Phase = EcsOnUpdate)
157157
{
158-
return mWorld.template system<Components...>(Name.data());
158+
auto Builder = mWorld.template system<Components...>(Name.data());
159+
Builder.kind(Phase);
160+
161+
return Builder;
159162
}
160163

161164
public:

0 commit comments

Comments
 (0)