From c14efa97fd6d99ca69081ff0addbc27f24d3e5fa Mon Sep 17 00:00:00 2001
From: kernel <directlimit@protonmail.com>
Date: Mon, 16 Apr 2018 21:57:24 +0300
Subject: [PATCH] Minor fixes

---
 src/SecExp/weaponsManufacturing.tw                  | 4 ++--
 src/uncategorized/industrialDairyAssignmentScene.tw | 2 +-
 src/uncategorized/walkPast.tw                       | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/SecExp/weaponsManufacturing.tw b/src/SecExp/weaponsManufacturing.tw
index 9a73e7c277e..d5c2c758d73 100644
--- a/src/SecExp/weaponsManufacturing.tw
+++ b/src/SecExp/weaponsManufacturing.tw
@@ -184,9 +184,9 @@ __Markets__:
 <br>//You are free to sell to whoever you please, but expect hostile forces of a certain kind to be stronger if we'll ever meet in battle.//
 <br>
 <br>
-<<set _time = $baseUpgradeTime / $weapProductivity>>
+<<set _time = Math.ceil($baseUpgradeTime / $weapProductivity)>>
 __Upgrades__:
-<br>With our current industrial and research capabilities upgrades will be finished in <<print Math.ceil(_time)>> weeks.
+<br>With our current industrial and research capabilities upgrades will be finished in _time weeks.
 <br>
 <<if $currentUpgrade.time <= 0>>
 	<br>Security Drones:
diff --git a/src/uncategorized/industrialDairyAssignmentScene.tw b/src/uncategorized/industrialDairyAssignmentScene.tw
index 267c068780e..1592c1ef37f 100644
--- a/src/uncategorized/industrialDairyAssignmentScene.tw
+++ b/src/uncategorized/industrialDairyAssignmentScene.tw
@@ -109,7 +109,7 @@ She does not hesitate or glance back at you. You stand by as the straps automati
 
 <<elseif $activeSlave.devotion > 60>>
 
-As she realizes her fate, the tears come quickly. "<<Master>>," she <<if !canTalk($activeSlave)<<else>><<say>>s quietly<</if>>, "i<<s>> thi<<s>> for me?" You nod, and she steps over to the machine. She lightly traces its gleaming metal, looking wistful.
+As she realizes her fate, the tears come quickly. "<<Master>>," she <<if !canTalk($activeSlave)signs<<else>><<say>>s quietly<</if>>, "i<<s>> thi<<s>> for me?" You nod, and she steps over to the machine. She lightly traces its gleaming metal, looking wistful.
 <<if ($activeSlave.amp != 1)>>
 	<<if ($dairyStimulatorsSetting > 1)>>
 	She gently touches the head of the massive phallus that will soon penetrate her anus. It's broader than her fist. "M-my butthole i<<s>>n't going to be any good for anal after thi<<s>>."
diff --git a/src/uncategorized/walkPast.tw b/src/uncategorized/walkPast.tw
index 53fe91a8329..40e73bd5c8a 100644
--- a/src/uncategorized/walkPast.tw
+++ b/src/uncategorized/walkPast.tw
@@ -826,7 +826,7 @@
 	<<else>>
 		<<set $slaves[$slaveIndices[_partnerSlave.ID]] = _partnerSlave>>
 	<</if>>
-	<<set $slaves[$slaveIndices[activeSlave.ID]] = activeSlave>>	
+	<<set $slaves[$slaveIndices[$activeSlave.ID]] = $activeSlave>>
 	<<set $target = "FRelation", _partnerSlave = null>>
 
 <<elseif ($partner == "relationship") || ($partner == "relation")>>
-- 
GitLab