vote fix
This commit is contained in:
		
				
					committed by
					
						 Steffen Schröder
						Steffen Schröder
					
				
			
			
				
	
			
			
			
						parent
						
							335901edd8
						
					
				
				
					commit
					2ff970101d
				
			| @@ -469,7 +469,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP | |||||||
| 		$timeUntilExpire = $this->currentVote->expireTime - time(); | 		$timeUntilExpire = $this->currentVote->expireTime - time(); | ||||||
| 		$this->showVoteWidget($timeUntilExpire, $votePercentage); | 		$this->showVoteWidget($timeUntilExpire, $votePercentage); | ||||||
|  |  | ||||||
| 		$playerCount      = count($this->maniaControl->playerManager->getPlayers()); | 		$playerCount      = $this->maniaControl->playerManager->getPlayerCount(); | ||||||
| 		$playersVoteRatio = (100 / $playerCount * $this->currentVote->getVoteCount()) / 100; | 		$playersVoteRatio = (100 / $playerCount * $this->currentVote->getVoteCount()) / 100; | ||||||
|  |  | ||||||
| 		//Check if vote is over | 		//Check if vote is over | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user