mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 13:52:18 +02:00
[Hotfix] Fix reloads causing lures to refresh, and fix game version
This commit is contained in:
parent
4a98c36427
commit
aae2ebe7c4
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "pokemon-rogue-battle",
|
"name": "pokemon-rogue-battle",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "pokemon-rogue-battle",
|
"name": "pokemon-rogue-battle",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@material/material-color-utilities": "^0.2.7",
|
"@material/material-color-utilities": "^0.2.7",
|
||||||
"crypto-js": "^4.2.0",
|
"crypto-js": "^4.2.0",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "pokemon-rogue-battle",
|
"name": "pokemon-rogue-battle",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "vite",
|
"start": "vite",
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
import { allSpecies } from "#app/data/pokemon-species.js";
|
import { allSpecies } from "#app/data/pokemon-species.js";
|
||||||
import { AbilityAttr, defaultStarterSpecies, DexAttr, SessionSaveData, SystemSaveData } from "./game-data";
|
import { AbilityAttr, defaultStarterSpecies, DexAttr, SessionSaveData, SystemSaveData } from "./game-data";
|
||||||
import { SettingKeys } from "./settings/settings";
|
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) {
|
export function applySessionDataPatches(data: SessionSaveData) {
|
||||||
const curVersion = data.gameVersion;
|
const curVersion = data.gameVersion;
|
||||||
|
Loading…
Reference in New Issue
Block a user