We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b925cd commit 20a0147Copy full SHA for 20a0147
gui/family-affairs.lua
@@ -252,7 +252,9 @@ function RelationshipsPage:init()
252
local unit = self:get_unit()
253
local selected = dfhack.gui.getSelectedUnit(true)
254
return unit and not get_spouse_hf(unit) and can_have_spouse(unit) and
255
- selected and selected.race == unit.race and selected.id ~= unit.id
+ selected and selected.race == unit.race and selected.id ~= unit.id and
256
+ (selected.sex == df.pronoun_type.she and unit.sex == df.pronoun_type.he or
257
+ selected.sex == df.pronoun_type.he and unit.sex == df.pronoun_type.she)
258
end,
259
},
260
widgets.Panel{
0 commit comments