mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
fix(markers-overview): correct note lookup by marker id
This commit is contained in:
parent
a3dcc8d2c4
commit
c26827bfe5
3 changed files with 4 additions and 4 deletions
|
|
@ -8151,7 +8151,7 @@
|
||||||
<script defer src="modules/ui/rivers-overview.js?v=1.99.00"></script>
|
<script defer src="modules/ui/rivers-overview.js?v=1.99.00"></script>
|
||||||
<script defer src="modules/ui/military-overview.js?v=1.108.5"></script>
|
<script defer src="modules/ui/military-overview.js?v=1.108.5"></script>
|
||||||
<script defer src="modules/ui/regiments-overview.js?v=1.108.5"></script>
|
<script defer src="modules/ui/regiments-overview.js?v=1.108.5"></script>
|
||||||
<script defer src="modules/ui/markers-overview.js?v=1.108.7"></script>
|
<script defer src="modules/ui/markers-overview.js?v=1.108.9"></script>
|
||||||
<script defer src="modules/ui/regiment-editor.js?v=1.108.5"></script>
|
<script defer src="modules/ui/regiment-editor.js?v=1.108.5"></script>
|
||||||
<script defer src="modules/ui/battle-screen.js?v=1.108.5"></script>
|
<script defer src="modules/ui/battle-screen.js?v=1.108.5"></script>
|
||||||
<script defer src="modules/ui/emblems-editor.js?v=1.99.00"></script>
|
<script defer src="modules/ui/emblems-editor.js?v=1.99.00"></script>
|
||||||
|
|
|
||||||
|
|
@ -214,8 +214,8 @@ function overviewMarkers() {
|
||||||
|
|
||||||
const body = pack.markers.map(marker => {
|
const body = pack.markers.map(marker => {
|
||||||
const {i, type, icon, x, y} = marker;
|
const {i, type, icon, x, y} = marker;
|
||||||
|
|
||||||
const note = notes.find(note => note.id === id);
|
const note = notes.find(note => note.id === i);
|
||||||
const name = note ? quote(note.name) : "Unknown";
|
const name = note ? quote(note.name) : "Unknown";
|
||||||
const legend = note ? quote(note.legend) : "";
|
const legend = note ? quote(note.legend) : "";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
* Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2
|
* Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const VERSION = "1.108.8";
|
const VERSION = "1.108.9";
|
||||||
if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function");
|
if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function");
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue