From 6c3ce72c75340ccf42efc17d9affe16978e4151e Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sat, 4 Aug 2018 23:54:00 -0400
Subject: [PATCH] Standardizes that | in the custom slave trade

---
 src/pregmod/basenationalitiesControls.tw    | 2 +-
 src/uncategorized/BackwardsCompatibility.tw | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/pregmod/basenationalitiesControls.tw b/src/pregmod/basenationalitiesControls.tw
index 69339f977b9..d2b378ca8f1 100644
--- a/src/pregmod/basenationalitiesControls.tw
+++ b/src/pregmod/basenationalitiesControls.tw
@@ -22,7 +22,7 @@
 <<set _len = Object.keys($nationalitiescheck).length>>
 <<for _nation, _i range $nationalitiescheck>>
 	_nation @@.orange;<<= ($nationalities[_nation] * _percentPerPoint).toFixed(2)>>%@@
-	<<if _i < _len-1>> | <</if>>
+	<<if _len != 0>> | <</if>>
 <</for>>
 <<unset _percentPerPoint>>
 <br><br>
diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw
index 4bc2ab31cc7..9c7b021e019 100644
--- a/src/uncategorized/BackwardsCompatibility.tw
+++ b/src/uncategorized/BackwardsCompatibility.tw
@@ -2275,6 +2275,10 @@ Setting missing slave variables:
 	<<set _Slave.tankBaby = 0>>
 <</if>>
 
+<<if def _Slave.PCSlutContacts>>
+	<<unset _Slave.PCSlutContacts>>
+<</if>>
+
 <<if ndef _Slave.need>>
 	<<set _Slave.need = 0>>
 <</if>>
-- 
GitLab