diff --git a/docs/changelog.txt b/docs/changelog.txt index 5f422ff5f..27ee805f2 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -37,6 +37,9 @@ changelog.txt uses a syntax similar to RST, with a few special sequences: ================================================================================ # Future +## Fixes +- `embark-assistant`: fixed crash when entering finder with a 16x16 embark selected, and added 16 to dimension choices + ## Internals - Core: various thread safety and memory management improvements - Fixed cmake build dependencies for generated header files diff --git a/plugins/embark-assistant/finder_ui.cpp b/plugins/embark-assistant/finder_ui.cpp index f0706b144..5578150ea 100644 --- a/plugins/embark-assistant/finder_ui.cpp +++ b/plugins/embark-assistant/finder_ui.cpp @@ -316,14 +316,14 @@ namespace embark_assist { switch (i) { case fields::x_dim: - for (int16_t k = 1; k < 16; k++) { + for (int16_t k = 1; k <= 16; k++) { element->list.push_back({ std::to_string(k), k }); } break; case fields::y_dim: - for (int16_t k = 1; k < 16; k++) { + for (int16_t k = 1; k <= 16; k++) { element->list.push_back({ std::to_string(k), k }); }