Skip to content

Commit

Permalink
😶 Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
wobbier committed Feb 23, 2024
1 parent 51e8d8d commit 78106d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Generate a new project
shell: bash
run: cd Project && sh GenerateSolution.command && cd ../
run: cd Project && sh GenerateSolution.command && cd ../ && ls

- name: Build Editor
if: ${{ matrix.type == 'Editor' }}
Expand Down
3 changes: 2 additions & 1 deletion Source/Engine/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,9 @@ void Engine::Init( Game* game )

// Register systems
{
updateContext.m_SystemRegistry->RegisterSystem( NewRenderer );
systemRegistry.RegisterSystem( NewRenderer );
}
updateContext.m_SystemRegistry = &systemRegistry;

m_isInitialized = true;
}
Expand Down
1 change: 1 addition & 0 deletions Source/Engine/Engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class Engine
JobEngine newJobSystem;

EngineUpdateContext updateContext;
SystemRegistry systemRegistry;

#if USING( ME_EDITOR )
Input m_editorInput;
Expand Down

0 comments on commit 78106d0

Please sign in to comment.