Skip to content

Commit

Permalink
Merge pull request #35 from altmp/main
Browse files Browse the repository at this point in the history
Merge main to dev
  • Loading branch information
Jengas authored Sep 3, 2024
2 parents a30695a + 036e843 commit 0d070b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions bindings/src/client/statics/Storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ class _Storage {
}

flush() {
for (const key in this.#dataCache)
alt.LocalStorage.set(key, this.#dataCache[key]);
for (const key in this.#sessionDataCache)
alt.setMeta(key, this.#sessionDataCache[key]);
for (const [key, value] of this.#dataCache)
alt.LocalStorage.set(key, value);
for (const [key, value] of this.#sessionDataCache)
alt.setMeta(key, value);
alt.LocalStorage.save();
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ragemp-altv-bridge",
"version": "1.0.4",
"version": "1.0.5",
"description": "RAGE Multiplayer alt:V Bridge. This package provides a bridge between RAGE Multiplayer and alt:V. It allows you to use RAGEMP code in alt:V.",
"keywords": [
"ragemp",
Expand Down

0 comments on commit 0d070b8

Please sign in to comment.