mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
fix(#826) wrong attr in friendly height tooltip
This commit is contained in:
parent
7eef4ea162
commit
9498976336
3 changed files with 3 additions and 3 deletions
|
|
@ -6119,7 +6119,7 @@
|
||||||
<script src="modules/ui/measurers.js?v=18052022"></script>
|
<script src="modules/ui/measurers.js?v=18052022"></script>
|
||||||
<script src="modules/ui/stylePresets.js"></script>
|
<script src="modules/ui/stylePresets.js"></script>
|
||||||
|
|
||||||
<script src="modules/ui/general.js?v=29052022"></script>
|
<script src="modules/ui/general.js?v=02062022"></script>
|
||||||
<script src="modules/ui/options.js?v=29052022"></script>
|
<script src="modules/ui/options.js?v=29052022"></script>
|
||||||
<script src="main.js?v=01062022"></script>
|
<script src="main.js?v=01062022"></script>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -291,7 +291,7 @@ function getDepth(f, p) {
|
||||||
|
|
||||||
// get user-friendly (real-world) height value from map data
|
// get user-friendly (real-world) height value from map data
|
||||||
function getFriendlyHeight([x, y]) {
|
function getFriendlyHeight([x, y]) {
|
||||||
const packH = pack.cells.h[findCell(x, y, grid)];
|
const packH = pack.cells.h[findCell(x, y)];
|
||||||
const gridH = grid.cells.h[findGridCell(x, y, grid)];
|
const gridH = grid.cells.h[findGridCell(x, y, grid)];
|
||||||
const h = packH < 20 ? gridH : packH;
|
const h = packH < 20 ? gridH : packH;
|
||||||
return getHeight(h);
|
return getHeight(h);
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
// version and caching control
|
// version and caching control
|
||||||
|
|
||||||
const version = "1.84.04"; // generator version, update each time
|
const version = "1.84.05"; // generator version, update each time
|
||||||
|
|
||||||
{
|
{
|
||||||
document.title += " v" + version;
|
document.title += " v" + version;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue