destruction order fix

This commit is contained in:
MihailRis 2024-03-27 20:22:23 +03:00
parent 9304bb92bf
commit 8a8f2013ae

View File

@ -41,8 +41,8 @@ public:
class LevelScreen : public Screen {
std::unique_ptr<LevelFrontend> frontend;
std::unique_ptr<Hud> hud;
std::unique_ptr<WorldRenderer> worldRenderer;
std::unique_ptr<LevelController> controller;
std::unique_ptr<WorldRenderer> worldRenderer;
std::unique_ptr<TextureAnimator> animator;
bool hudVisible = true;