File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,11 +73,11 @@ function getSexString(sex)
73
73
end
74
74
75
75
local function determineorientation (unit )
76
- if unit .sex ~=- 1 then
76
+ if unit .sex ~=- 1 and unit . status . current_soul then
77
77
local return_string = ' '
78
78
local orientation = unit .status .current_soul .orientation_flags
79
79
if orientation .indeterminate then
80
- return ' indeterminate (probably adventurer)'
80
+ return ' indeterminate (probably adventurer)'
81
81
end
82
82
local male_interested ,asexual = false ,true
83
83
if orientation .romance_male then
@@ -109,7 +109,7 @@ local function determineorientation(unit)
109
109
end
110
110
return return_string
111
111
else
112
- return " is not biologically capable of sex"
112
+ return " is not biologically capable of sex"
113
113
end
114
114
end
115
115
You can’t perform that action at this time.
0 commit comments