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