mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-24 04:51:24 +01:00
replacing lodash with deepCopy implementation
This commit is contained in:
parent
7e02d40066
commit
661855d420
4 changed files with 36 additions and 140 deletions
|
|
@ -108,8 +108,8 @@ async function startResample(options) {
|
|||
undraw();
|
||||
resetZoom(0);
|
||||
let oldstate = {
|
||||
grid: _.cloneDeep(grid),
|
||||
pack: _.cloneDeep(pack),
|
||||
grid: deepCopy(grid),
|
||||
pack: deepCopy(pack),
|
||||
seed,
|
||||
graphWidth,
|
||||
graphHeight,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue