Don't add special icons when not including Pokemon

This commit is contained in:
Michiel Sikma 2016-12-16 15:20:01 +01:00
parent 2105ac4bbd
commit 64d3115d24
No known key found for this signature in database
GPG Key ID: ABBA426CD282C020

View File

@ -158,6 +158,11 @@ class Usage extends TemplateFormatter
}
}
// When not adding Pokémon icons, exclude the special icons too.
if ($s['include_pkmn'] === false) {
$s['include_special_icons'] = false;
}
// These are settings values that are directly replaced by the values
// of the command-line arguments.
$var_replacements = array(