From 8569bf09c7876ef69c8e996a8b969de4bc1e9bc6 Mon Sep 17 00:00:00 2001
From: Arkerthan <arkerthan@gmail.com>
Date: Wed, 19 May 2021 18:56:40 +0200
Subject: [PATCH] fix use Job.WARDEN instead of nonexistent Job.WARDENESS

---
 src/facilities/cellblock/WardenessSelect.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/facilities/cellblock/WardenessSelect.js b/src/facilities/cellblock/WardenessSelect.js
index ab9b749520f..b9dfea914f6 100644
--- a/src/facilities/cellblock/WardenessSelect.js
+++ b/src/facilities/cellblock/WardenessSelect.js
@@ -4,7 +4,7 @@ App.Facilities.WardenessSelect = function() {
 	if (S.Wardeness) {
 		f.append(`Wardeness: ${SlaveFullName(S.Wardeness)}, helps breaking your prisoners. `);
 		f.append(App.UI.DOM.link("Remove Wardeness", () => {
-			removeJob(S.Wardeness, Job.WARDENESS);
+			removeJob(S.Wardeness, Job.WARDEN);
 		},
 		[], "Cellblock"
 		));
-- 
GitLab