From 4d95d6c9142cd2704afbeeabb6fce02722baad28 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Wed, 14 Sep 2022 09:44:06 +0200 Subject: [PATCH] Fix vehicles + v2.0 --- module.json | 4 ++-- modules/swade-fr-init.js | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/module.json b/module.json index 14ae7c5..c18a863 100644 --- a/module.json +++ b/module.json @@ -38,7 +38,7 @@ } ], "url": "https://www.uberwald.me/gitea/public//foundryvtt-swade-fr", - "version": "2.0.0", + "version": "2.0.1", "esmodules": [ "modules/swade-fr-init.js" ], @@ -54,7 +54,7 @@ } ], "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-swade-fr/raw/branch/master/module.json", - "download": "https://www.uberwald.me/gitea/public/foundryvtt-swade-fr/archive/foundryvtt-swade-fr-2.0.0.zip", + "download": "https://www.uberwald.me/gitea/public/foundryvtt-swade-fr/archive/foundryvtt-swade-fr-2.0.1.zip", "id": "swade-fr", "relationships": { "requires": [ diff --git a/modules/swade-fr-init.js b/modules/swade-fr-init.js index 3e2820c..827a087 100644 --- a/modules/swade-fr-init.js +++ b/modules/swade-fr-init.js @@ -15,9 +15,7 @@ Hooks.once('init', () => { /************************************************************************************/ Hooks.once('ready', () => { - CONFIG.SWADE.vehicles.opSkills = { - maxHandlingPenalty: -4, - opSkills: ['', 'Navigation', 'Conduite', 'Pilotage', 'Équitation'], - } + + CONFIG.SWADE.vehicles.opSkills = ['', 'Navigation', 'Conduite', 'Pilotage', 'Équitation'] })