Skip to content

Commit 2cd9874

Browse files
committed
Fix initalization order
1 parent 3f3bb6c commit 2cd9874

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/game.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ class Game {
2626

2727
private:
2828
gsl::not_null<le::ServiceLocator const*> m_services;
29+
Lighthouse m_lighthouse;
30+
Light m_light;
2931

3032
le::Font m_font{};
3133
le::drawable::Text m_score_text{};
32-
Light m_light;
33-
Lighthouse m_lighthouse;
3434
glm::vec2 m_cursor_pos{};
3535
std::size_t m_wave_count{};
3636
bool m_running{true};

0 commit comments

Comments
 (0)