From 65e2383b557ba1a0d3dd4ca646b5234fac81ea0f Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Tue, 15 Aug 2017 17:38:01 -0400 Subject: [PATCH] catches for bad chastity --- src/uncategorized/nextWeek.tw | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/uncategorized/nextWeek.tw b/src/uncategorized/nextWeek.tw index 883efbe15b5..c9a06c93795 100644 --- a/src/uncategorized/nextWeek.tw +++ b/src/uncategorized/nextWeek.tw @@ -58,6 +58,12 @@ <<if $slaves[_i].rivalry == 0>> <<set $slaves[_i].rivalryTarget = 0>> <</if>> + <<if $slaves[_i].vagina < 0 && $slaves[_i].vaginalAccessory != "none">> + <<set $slaves[_i].vaginalAccessory = "none">> + <</if>> + <<if $slaves[_i].dick == 0 && $slaves[_i].dickAccessory != "none">> + <<set $slaves[_i].dickAccessory = "none">> + <</if>> /% Fix some possible floating point rounding errors, and bring precision to one decimal place. %/ <<SlaveStatClamp $slaves[_i]>> <<set $slaves[_i].energy = Math.clamp($slaves[_i].energy.toFixed(1), 0, 100)>> -- GitLab