forked from townforge/townforge
fix cultural town city specialization
This commit is contained in:
parent
cf5955fb66
commit
947bc1097d
@ -325,7 +325,7 @@ special_event_t update_special_events(const cryptonote::BlockchainDB &db, uint32
|
||||
{
|
||||
cryptonote::cc_city_data_t cd;
|
||||
db.get_cc_city_data(city, cd);
|
||||
if (cc::has_specialization(cd.specializations, SPECIAL_EVENT_FESTIVAL))
|
||||
if (cc::has_specialization(cd.specializations, CITY_SPECIALIZATION_CULTURAL_TOWN))
|
||||
start_one_in = std::max<uint32_t>(start_one_in / 4, 1);
|
||||
}
|
||||
if (roll(city, event, hash, start_one_in))
|
||||
|
Loading…
Reference in New Issue
Block a user