Commit 13ec798
Fix zones not recovering after heightmap edit in Risk mode (#1327)
* Initial plan
* Fix zones restoration in risk heightmap edit mode
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
* Remove comments from zones restoration code
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
* Optimize zones restoration with O(n) map lookup instead of O(n²)
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
* Use local Map for zone backup instead of mutating zone objects
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
* Update version to 1.112.2 and heightmap-editor.js cache hash
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>1 parent da9e915 commit 13ec798
3 files changed
Lines changed: 19 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
342 | 338 | | |
343 | 339 | | |
344 | 340 | | |
| |||
448 | 444 | | |
449 | 445 | | |
450 | 446 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
469 | 459 | | |
470 | 460 | | |
471 | 461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8511 | 8511 | | |
8512 | 8512 | | |
8513 | 8513 | | |
8514 | | - | |
| 8514 | + | |
8515 | 8515 | | |
8516 | 8516 | | |
8517 | 8517 | | |
| |||
0 commit comments