small fix

This commit is contained in:
kremsy 2014-02-23 23:30:19 +01:00 committed by Steffen Schröder
parent 663c5633f5
commit 13c73c3003

View File

@ -601,6 +601,10 @@ class KarmaPlugin implements CallbackListener, TimerListener, Plugin {
return; return;
} }
if(count($this->mxKarma['votes'] == 0)){
return;
}
$gameMode = $this->maniaControl->server->getGameMode(true); $gameMode = $this->maniaControl->server->getGameMode(true);
$properties = array(); $properties = array();