summaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/loader-impl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/loader/loader-impl.cpp b/loader/loader-impl.cpp
index 447a5a81..55da68df 100644
--- a/loader/loader-impl.cpp
+++ b/loader/loader-impl.cpp
@@ -70,7 +70,6 @@ std::shared_ptr<tile_atlas> loader_impl::tile_atlas(StringView name, Vector2ub s
{
const emplacer e{[&] { return std::make_shared<struct tile_atlas>(name, texture(FM_IMAGE_PATH, name), size); }};
auto atlas = tile_atlas_map.try_emplace(name, e).first->second;
- tile_atlas_map[atlas->name()] = atlas;
return atlas;
}