From 1ebe2134662a50f86a3b87e379fd0ad71ee9673a Mon Sep 17 00:00:00 2001 From: Skriv <skrivelese@gmail.com> Date: Tue, 17 Dec 2019 20:43:58 +0100 Subject: [PATCH] weight type fix --- src/js/modification.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/modification.js b/src/js/modification.js index b7285132a43..7ff7abffe3c 100644 --- a/src/js/modification.js +++ b/src/js/modification.js @@ -5,7 +5,7 @@ App.Medicine.Modification = {}; * @param {App.Entity.SlaveState} slave * @param {string} scar * @param {string} design - * @param {string} weight + * @param {number} weight */ App.Medicine.Modification.addScar = function(slave, scar, design, weight) { /* @@ -63,7 +63,7 @@ App.Medicine.Modification.removeScar = function(slave, scar, design) { /** * Slave is whipped over the entire body, and strains in manacles so much that the wrists and ankles scar if present. * @param {App.Entity.SlaveState} slave - * @param {string} weight + * @param {number} weight */ App.Medicine.Modification.addScourged = function(slave, weight) { let scarArray = ["left breast", "right breast", "back", "lower back", "left buttock", "right buttock"]; -- GitLab