forked from townforge/townforge
fix snow storm enable condition check
This commit is contained in:
parent
6b2211365a
commit
f654ba68ec
@ -198,7 +198,7 @@ static bool enable_snowstorm_events(const cryptonote::BlockchainDB &db, uint32_t
|
||||
|
||||
uint32_t day, month, year;
|
||||
cc::get_calendar_date(height, NULL, day, month, year);
|
||||
return year > START_YEAR && month <= 3 || month >= 9;
|
||||
return year > START_YEAR && (month <= 3 || month >= 9);
|
||||
}
|
||||
|
||||
static bool enable_moose_disease(const cryptonote::BlockchainDB &db, uint32_t city)
|
||||
|
Loading…
Reference in New Issue
Block a user