Skip to content

Commit 4a2e8e2

Browse files
authored
Merge pull request #95 from Cussa/master
Fix #94
2 parents 34ecc83 + 5d894e7 commit 4a2e8e2

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

Diff for: README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ This system provides character sheets and items for your play, if you would lik
3131
## Release Notes
3232
=======
3333

34+
v4.1.1
35+
- Fix the migration, as it's running every login.
36+
3437
v4.1.0
3538
- Added a 'headquarters' item to the player sheet. Selecting a headquarter actor will give the player access to the upgrades at the HQ for dice pools
3639

37-
3840
v4.0.0
3941
- Major Release! BACK UP YOUR WORLDS BEFORE UPGRADING!
4042
- Moved conditions to active effects, exisitng actors will be migrated to the new system. [[#78](https://github.com/fvtt-fria-ligan/vaesen-foundry-vtt/issues/78)]

Diff for: script/util/migrator.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ export async function linkUnlinkActorData(link, type){
3636
}
3737

3838
const migrations = {
39-
4.0 : migrateTo4_0,
40-
4.1 : migrateTo4_1
39+
"4.0.0" : migrateTo4_0_0,
40+
"4.1.0" : migrateTo4_1_0
4141
}
4242

43-
async function migrateTo4_0() {
43+
async function migrateTo4_0_0() {
4444
const options = {permanent: true};
4545
ui.notifications.warn("Migrating your data to version 4.0.0. Please, wait until it finishes.", options);
4646
for (let actor of game.actors.contents) {
@@ -100,7 +100,7 @@ function migrateTo4_0_Actor(actor){
100100
return updateData;
101101
}
102102

103-
async function migrateTo4_1() {
103+
async function migrateTo4_1_0() {
104104
const options = {permanent: true};
105105
ui.notifications.warn("Migrating your data to version 4.1.0. Please, wait until it finishes.", options);
106106

Diff for: system.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title": "Vaesen",
33
"description": "Nordic horror role-playing",
4-
"version": "4.1.0",
4+
"version": "4.1.1",
55
"esmodules": [
66
"script/hooks.js"
77
],

0 commit comments

Comments
 (0)