diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-22 10:07:08 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-22 10:07:08 +0100 |
| commit | 424701126b5613badc23dd7354b26294dc1c6c93 (patch) | |
| tree | d7d87af8c659fde18fdf269ec2cade08e229abfc /editor/tile-editor.cpp | |
| parent | dba52df4581329a692d889d76cb7f093e7e3f7d9 (diff) | |
a
Diffstat (limited to 'editor/tile-editor.cpp')
| -rw-r--r-- | editor/tile-editor.cpp | 3 |
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()); |
