diff options
Diffstat (limited to 'game/network/network.cpp')
-rw-r--r-- | game/network/network.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/game/network/network.cpp b/game/network/network.cpp index 8aa9adb..500742c 100644 --- a/game/network/network.cpp +++ b/game/network/network.cpp @@ -2,7 +2,6 @@ #include "routeWalker.h" #include <array> #include <cache.h> -#include <filesystem> #include <game/network/link.h> #include <gfx/models/texture.h> #include <glm/gtx/intersect.hpp> @@ -10,7 +9,7 @@ #include <stdexcept> #include <utility> -Network::Network(const std::string & tn) : texture {Texture::cachedTexture.get(tn)} { } +Network::Network(const std::string & tn) : texture {std::make_shared<Texture>(tn)} { } Node::Ptr Network::nodeAt(GlobalPosition3D pos) |