From cc75260da3994d4940cd7c63341dcfe6e3431ba6 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Mon, 7 Jun 2021 21:55:16 -0400 Subject: [PATCH] move init --- js/002-config/fc-js-init.js | 2 -- js/003-data/slaveWearData.js | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/js/002-config/fc-js-init.js b/js/002-config/fc-js-init.js index 762a7117f46..ab834eafafc 100644 --- a/js/002-config/fc-js-init.js +++ b/js/002-config/fc-js-init.js @@ -18,8 +18,6 @@ App.Art = {}; App.Budget = {}; App.Corporate = {}; App.Data = {}; -/** @type {Map.<FC.Clothes, clothes>} The string here will be what is applied to the relevant slave property. Slave.clothes = "a bunny outfit", not "Bunny outfit".*/ -App.Data.clothes = new Map(); App.Data.FCTV = {}; App.Data.HeroSlaves = {}; App.Data.Policies = {}; diff --git a/js/003-data/slaveWearData.js b/js/003-data/slaveWearData.js index 00acd87e129..41c454c8b7e 100644 --- a/js/003-data/slaveWearData.js +++ b/js/003-data/slaveWearData.js @@ -1,3 +1,6 @@ +/** @type {Map.<FC.Clothes, clothes>} The string here will be what is applied to the relevant slave property. Slave.clothes = "a bunny outfit", not "Bunny outfit".*/ +App.Data.clothes = (new Map()); + /** * @typedef {object} itemFS * @property {FC.FutureSociety} [unlocks] Automatically unlocked with this FS. -- GitLab