From 19190375a8a834ade3cc2dde99166c9927d7c90b Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Tue, 16 Mar 2021 21:16:09 -0400
Subject: [PATCH] bug fix

---
 src/endWeek/events/expire.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/endWeek/events/expire.js b/src/endWeek/events/expire.js
index 5a0af8814ec..a3e01063aa8 100644
--- a/src/endWeek/events/expire.js
+++ b/src/endWeek/events/expire.js
@@ -170,7 +170,7 @@ globalThis.expirations = function() {
 				r.push(Spoken(slave, `"I don't mind being your slave. Could I — would you please give me another indenture? I'm, um, not too worried about the price`));
 			}
 
-			if (V.cash > 1000) {
+			if (V.cash > _slaveCost) {
 				App.UI.DOM.appendNewElement("div", result, App.UI.DOM.link(
 					`Offer ${him} a one year supplementary indenture`,
 					() => {
-- 
GitLab