diff --git a/src/openrct2/Context.cpp b/src/openrct2/Context.cpp index a2d63360b8..12317f0151 100644 --- a/src/openrct2/Context.cpp +++ b/src/openrct2/Context.cpp @@ -83,7 +83,7 @@ namespace OpenRCT2 std::shared_ptr const _uiContext; // Services - std::shared_ptr _localisationService; + std::unique_ptr _localisationService; std::unique_ptr _objectRepository; std::unique_ptr _objectManager; std::unique_ptr _trackDesignRepository; @@ -128,7 +128,7 @@ namespace OpenRCT2 : _env(env) , _audioContext(audioContext) , _uiContext(uiContext) - , _localisationService(std::make_shared(env)) + , _localisationService(std::make_unique(env)) { Instance = this; }