Skip to content

Commit

Permalink
Merge pull request #107 from BeAllAround/master
Browse files Browse the repository at this point in the history
entity id exists - ent.id = id
  • Loading branch information
rjrodger authored Jul 12, 2024
2 parents b34d265 + 327e8be commit 66aafe2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/mem-store.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dist/mem-store.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/mem-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function mem_store(this: any, options: Options) {
const { ent } = msg

if (null != id) {
mement.id = id
ent.id = mement.id = id
}

const prev = entmap[base][name][mement.id]
Expand Down

0 comments on commit 66aafe2

Please sign in to comment.