summaryrefslogtreecommitdiffhomepage
path: root/editor/tile-editor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-12-22 10:07:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-12-22 10:07:08 +0100
commit424701126b5613badc23dd7354b26294dc1c6c93 (patch)
treed7d87af8c659fde18fdf269ec2cade08e229abfc /editor/tile-editor.cpp
parentdba52df4581329a692d889d76cb7f093e7e3f7d9 (diff)
a
Diffstat (limited to 'editor/tile-editor.cpp')
-rw-r--r--editor/tile-editor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/tile-editor.cpp b/editor/tile-editor.cpp
index e6d98079..0bccd6d9 100644
--- a/editor/tile-editor.cpp
+++ b/editor/tile-editor.cpp
@@ -17,8 +17,7 @@ tile_editor::tile_editor()
void tile_editor::load_atlases()
{
- const auto filename = _name + ".json";
- for (const auto& atlas : loader.tile_atlases(filename))
+ for (const auto& atlas : loader.tile_atlases("floor.json"_s))
{
auto& [_, vec] = _permutation;
vec.reserve(atlas->num_tiles());