mieux gérer le hasard pour les couleurs de bloc header

This commit is contained in:
2019-01-01 14:57:29 +01:00
parent 642a655352
commit ab2d7de654
3 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ for($i=0; $i<$nb_max; $i++)
$block_hash = $the_block->prev_block;
$hash=DATA_PATH.'/hashes/'.$the_block->hash.'.png';
if ($final_hash == 'default') $final_hash = $hash;
if ($final_hash == 'default') $final_hash = $the_block->hash;
if (file_exists($hash))
{