cleanup
This commit is contained in:
parent
c306011700
commit
4dabf459a8
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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])) {
|
||||
|
Loading…
Reference in New Issue
Block a user