[Hotfix] Fix reloads causing lures to refresh, and fix game version

This commit is contained in:
Michael Li 2024-09-08 13:29:10 -04:00
parent 4a98c36427
commit aae2ebe7c4
3 changed files with 5 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "pokemon-rogue-battle",
"version": "1.0.4",
"version": "1.0.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "pokemon-rogue-battle",
"version": "1.0.4",
"version": "1.0.5",
"dependencies": {
"@material/material-color-utilities": "^0.2.7",
"crypto-js": "^4.2.0",

View File

@ -1,7 +1,7 @@
{
"name": "pokemon-rogue-battle",
"private": true,
"version": "1.0.4",
"version": "1.0.5",
"type": "module",
"scripts": {
"start": "vite",

View File

@ -1,8 +1,9 @@
import { allSpecies } from "#app/data/pokemon-species.js";
import { AbilityAttr, defaultStarterSpecies, DexAttr, SessionSaveData, SystemSaveData } from "./game-data";
import { SettingKeys } from "./settings/settings";
import { version } from "../../package.json";
const LATEST_VERSION = "1.0.5";
const LATEST_VERSION = version;
export function applySessionDataPatches(data: SessionSaveData) {
const curVersion = data.gameVersion;