@ -6,6 +6,7 @@
*
*/
include "db.php";
include('path.inc.php');
include_once ('inclu/messagefunctions.inc.php');
include_once ('inclu/halloffame.inc.php');
@ -40,7 +40,9 @@ foreach($races as $race) {
$max_charakter = mysql_num_rows(mysql_query('SELECT id FROM chars WHERE rasse NOT IN ('.implode(',', $exclude_race_ids).') LIMIT 500'));
if($max_charakter<500) {
if($max_charakter%2!=0) { $max_charakter--; }
if($max_charakter==0) {
exit;
}