Closed toconnell closed 6 years ago
I'm just going to ditch the color style if they're dead. Problem solved, problem staying solved.
@@ -3787,9 +3724,9 @@ class settlement:
disabled: s.meta.manageable == false,
survivor_sheet_gradient: s.meta.manageable == true,
dead_survivor_gradient: s.sheet.dead == true,
- affinity_red: s.sheet.savior == 'red',
- affinity_green: s.sheet.savior == 'green',
- affinity_blue: s.sheet.savior == 'blue',
+ affinity_red: s.sheet.savior == 'red' && s.sheet.dead == undefined,
+ affinity_green: s.sheet.savior == 'green && s.sheet.dead == undefined,
+ affinity_blue: s.sheet.savior == 'blue'&& s.sheet.dead == undefined,
}"
style='{{settlement.survivor_color_schemes[s.sheet.color_scheme].style_string}}'
>