AllowHeroHiringByRaceInTown('humanTown', TOWN_HEAVEN, 1);
AllowHeroHiringByRaceInTown('elvenTown', TOWN_PRESERVE, 1);
and I'm also using a loop to prevent the hiring of heroes of other races in these towns. As a result, in the first town where the player starts (e.g., the human town), heroes of the human race can be hired, and everything is normal, but in the second town, there are no heroes at all. I'm not sure what the problem is.
Multiplayer: Господство, Извечное противостояние, Война за Магию, Торговая империя, Анатомия войны, Эксперимент
SingleScenario: Последний Рубеж, Трон, Элиралис, Вернуться домой!, Лабиринты разума
Campaign: Колонизация