improvement, maps voted statistic
This commit is contained in:
@ -270,7 +270,9 @@ class KarmaPlugin implements CallbackListener, Plugin {
|
||||
$map = $this->maniaControl->mapManager->getCurrentMap();
|
||||
|
||||
$voted = $this->getPlayerVote($player, $map);
|
||||
var_dump($voted);
|
||||
if(!$voted){
|
||||
var_dump("test");
|
||||
$this->maniaControl->statisticManager->incrementStat(self::STAT_PLAYER_MAPVOTES, $player, $this->maniaControl->server->getLogin());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user