improve simplestatslist

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:09 +02:00
1 parent 6367ef160c
commit c306011700
6 files changed
+190 -57

No files matched your search

+3
View File
@@ -82,6 +82,9 @@ class KarmaPlugin implements CallbackListener, Plugin {
// Define player stats
$this->maniaControl->statisticManager->defineStatMetaData(self::STAT_PLAYER_MAPVOTES);
// Register Stat in Simple StatsList
$this->maniaControl->statisticManager->simpleStatsList->registerStat(self::STAT_PLAYER_MAPVOTES, 100, "VM");
$this->updateManialink = true;
return true;
}