Don't refill if zone fills aren't out-of-date.

This commit is contained in:
Jeff Young 2018-04-09 17:04:51 +01:00
parent 05dae96275
commit f83ebb316e
1 changed files with 2 additions and 2 deletions

View File

@ -182,9 +182,9 @@ void ZONE_FILLER::Fill( std::vector<ZONE_CONTAINER*> aZones, bool aCheck )
outOfDate = true;
}
if( aCheck && outOfDate )
if( aCheck )
{
bool cancel = !IsOK( nullptr, _( "Zone fills are out-of-date. Re-fill?" ) );
bool cancel = !outOfDate || !IsOK( nullptr, _( "Zone fills are out-of-date. Re-fill?" ) );
if( m_progressReporter )
{