From 27e07a1dad8922ab85a4f8f259a15216230335f0 Mon Sep 17 00:00:00 2001 From: ezsh <ezsh.junk@gmail.com> Date: Wed, 1 May 2019 11:40:13 +0200 Subject: [PATCH] Restore clothes changes in slave summary --- src/endWeek/saChoosesOwnClothes.js | 8 ++++---- src/js/slaveSummaryWidgets.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/endWeek/saChoosesOwnClothes.js b/src/endWeek/saChoosesOwnClothes.js index 88df29d4703..1b3792e2cc2 100644 --- a/src/endWeek/saChoosesOwnClothes.js +++ b/src/endWeek/saChoosesOwnClothes.js @@ -98,7 +98,7 @@ window.saChoosesOwnClothes = (function() { /** * @param {App.Entity.SlaveState} slave - * @returns {string} // I think + * @returns {{text:string, clothes:string}} */ function todaysOutfit(slave) { const clothing = []; @@ -956,7 +956,7 @@ window.saChoosesOwnClothes = (function() { /** * @param {App.Entity.SlaveState} slave - * @returns {string} + * @returns {{text:string, shoes:string}} */ function todaysShoes(slave) { const shoes = []; @@ -1002,7 +1002,7 @@ window.saChoosesOwnClothes = (function() { /** * @param {App.Entity.SlaveState} slave - * @returns {string} + * @returns {{text:string, collar:string}} */ function todaysCollar(slave) { const neck = []; @@ -1034,7 +1034,7 @@ window.saChoosesOwnClothes = (function() { /** * @param {App.Entity.SlaveState} slave - * @returns {string} + * @returns {{text:string, bellyAccessory:string}} */ function todaysCorset(slave) { const belly = []; diff --git a/src/js/slaveSummaryWidgets.js b/src/js/slaveSummaryWidgets.js index 03304ba6fac..295ccb94dc4 100644 --- a/src/js/slaveSummaryWidgets.js +++ b/src/js/slaveSummaryWidgets.js @@ -5381,7 +5381,7 @@ App.UI.slaveSummaryList = function(passageName) { case "Main": if ((_Slave.choosesOwnClothes === 1) && (_Slave.clothes === "choosing her own clothes")) { const _oldDevotion = _Slave.devotion; - // const _chosenClothes = saChoosesOwnClothes(_Slave); + saChoosesOwnClothes(_Slave); slaves[_ssi].devotion = _oldDevotion; _Slave = slaves[_ssi]; /* restore devotion value so repeatedly changing clothes isn't an exploit */ } -- GitLab