From ffd1b50092c5ee3d50d9d6e6b55a17e94ccc94f2 Mon Sep 17 00:00:00 2001 From: kopareigns <kopareigns@gmail.com> Date: Thu, 11 Oct 2018 07:02:56 -0400 Subject: [PATCH] Fix --- devNotes/twine JS.txt | 23 ++++++++++++----------- src/js/sexActsJS.tw | 25 +++++++++++++------------ 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt index d257457d54a..bc6793f2715 100644 --- a/devNotes/twine JS.txt +++ b/devNotes/twine JS.txt @@ -18637,17 +18637,18 @@ window.VaginalVCheck = function VaginalVCheck(times) { } slave.vagina = 1; } - - if (canImpreg(slave, V.PC)) { - r += knockMeUp(slave, 10, 0, -1, 1); - } - if (!times) { - V.vaginalTotal += 1; - slave.vaginalCount += 1; - } - else { - V.vaginalTotal += times; - slave.vaginalCount += times; + if (canDoVaginal(slave)) { + if (canImpreg(slave, V.PC)) { + r += knockMeUp(slave, 10, 0, -1, 1); + } + if (!times) { + V.vaginalTotal += 1; + slave.vaginalCount += 1; + } + else { + V.vaginalTotal += times; + slave.vaginalCount += times; + } } return r; diff --git a/src/js/sexActsJS.tw b/src/js/sexActsJS.tw index f9400ec72b9..f4312241401 100644 --- a/src/js/sexActsJS.tw +++ b/src/js/sexActsJS.tw @@ -97,19 +97,20 @@ window.VaginalVCheck = function VaginalVCheck(times) { } slave.vagina = 1; } - - if (canImpreg(slave, V.PC)) { - r += knockMeUp(slave, 10, 0, -1, 1); - } - if (!times) { - V.vaginalTotal += 1; - slave.vaginalCount += 1; - } - else { - V.vaginalTotal += times; - slave.vaginalCount += times; + if (canDoVaginal(slave)) { + if (canImpreg(slave, V.PC)) { + r += knockMeUp(slave, 10, 0, -1, 1); + } + if (!times) { + V.vaginalTotal += 1; + slave.vaginalCount += 1; + } + else { + V.vaginalTotal += times; + slave.vaginalCount += times; + } } - + return r; } -- GitLab