mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 06:02:50 +00:00
parent
46295cbde6
commit
6c97702c45
@ -434,7 +434,7 @@ void flg_manager::update_available_genders()
|
|||||||
} else {
|
} else {
|
||||||
const unit_type* unit = unit_types.find(current_leader_);
|
const unit_type* unit = unit_types.find(current_leader_);
|
||||||
if (unit) {
|
if (unit) {
|
||||||
if (unit->genders().size() > 1) {
|
if (unit->genders().size() > 1 && !leader_lock_) {
|
||||||
available_genders_.push_back("random");
|
available_genders_.push_back("random");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user