Reset dsgn_check_cooldown in Block::write

To make sure that DF generates jobjs from desgination as soon as
possible the dsgn_check_cooldown should be reset when designations
change.
develop
Pauli 2018-06-22 15:56:39 +03:00
parent 123de7fdf7
commit 20bd03ab6d
1 changed files with 1 additions and 0 deletions

@ -738,6 +738,7 @@ bool MapExtras::Block::Write ()
{
COPY(block->designation, designation);
block->flags.bits.designated = true;
block->dsgn_check_cooldown = 0;
dirty_designations = false;
}
if(dirty_tiles || dirty_veins)