Skip to content
Snippets Groups Projects
Commit 8c9dc84d authored by Skriv's avatar Skriv
Browse files

restore assignJS

parent 113d4e0e
No related branches found
No related tags found
1 merge request!4604Fixes and cleanup
......@@ -46,7 +46,14 @@ window.assignJob = function assignJob(slave, job) {
slave.assignmentVisible = 0;
V.cellblockSlaves++;
V.CellBiIDs.push(slave.ID);
slave.livingRules = (V.cellblockDecoration === "Paternalist") ? "normal" : "spare";
switch (V.cellblockDecoration) {
case "Paternalist":
slave.livingRules = "normal";
break;
default:
slave.livingRules = "spare";
break;
}
break;
case "get treatment in the clinic":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment