This commit is contained in:
kremsy 2014-01-29 20:55:22 +01:00 committed by Steffen Schröder
parent c306011700
commit 4dabf459a8
2 changed files with 1 additions and 4 deletions

View File

@ -70,7 +70,7 @@ class StatisticCollector implements CallbackListener {
//Initialize Settings
$this->maniaControl->settingManager->initSetting($this, self::SETTING_COLLECT_STATS_ENABLED, true);
$this->maniaControl->settingManager->initSetting($this, self::SETTING_COLLECT_STATS_MINPLAYERS, 2); //TODO just temp on 2
$this->maniaControl->settingManager->initSetting($this, self::SETTING_ON_SHOOT_PRESTORE, 1);
$this->maniaControl->settingManager->initSetting($this, self::SETTING_ON_SHOOT_PRESTORE, 10);
}
/**

View File

@ -202,8 +202,6 @@ class StatisticManager {
}
break;
}
// var_dump($statsArray);
return $statsArray;
}
@ -336,7 +334,6 @@ class StatisticManager {
continue;
}
$playerStats[$stat->name] = array($stat, $hits / $shots);
var_dump($hits, $shots, (float)($hits / $shots));
break;
case self::SPECIAL_STAT_ROCKET_ACC:
if (!isset($playerStats[StatisticCollector::STAT_ROCKET_HIT]) || !isset($playerStats[StatisticCollector::STAT_ROCKET_SHOT])) {