diff options
Diffstat (limited to 'src/libs/gui/App.hpp')
-rw-r--r-- | src/libs/gui/App.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/gui/App.hpp b/src/libs/gui/App.hpp index c6a6c66c..a13259ad 100644 --- a/src/libs/gui/App.hpp +++ b/src/libs/gui/App.hpp @@ -106,7 +106,8 @@ public: const SharedPtr<SigClientInterface>& client() const { return _client; } const SharedPtr<ClientStore>& store() const { return _store; } const SharedPtr<ThreadedLoader>& loader() const { return _loader; } - const SharedPtr<Serialiser>& serialiser() const { return _world->serialiser; } + + const SharedPtr<Serialiser>& serialiser(); static inline App& instance() { assert(_instance); return *_instance; } @@ -139,6 +140,7 @@ protected: SharedPtr<SigClientInterface> _client; SharedPtr<ClientStore> _store; + SharedPtr<Serialiser> _serialiser; SharedPtr<ThreadedLoader> _loader; Configuration* _configuration; |