small fix
This commit is contained in:
parent
7c4a038722
commit
734619e744
@ -209,10 +209,10 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
|
||||
public function addVoteMenuItem(Control $control, $order = 0, $description = null) {
|
||||
if (!isset($this->voteMenuItems[$order])) {
|
||||
$this->voteMenuItems[$order] = array();
|
||||
}
|
||||
array_push($this->voteMenuItems[$order], array($control, $description));
|
||||
krsort($this->voteMenuItems);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Chat Vote
|
||||
|
Loading…
Reference in New Issue
Block a user