small fix
This commit is contained in:
parent
890d72d8f4
commit
852878ced2
@ -607,7 +607,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
|
|||||||
*/
|
*/
|
||||||
public function updateWidget(array $callback){
|
public function updateWidget(array $callback){
|
||||||
foreach($this->playersListShown as $login => $shown){
|
foreach($this->playersListShown as $login => $shown){
|
||||||
if($shown == true){
|
if($shown){
|
||||||
$player = $this->maniaControl->playerManager->getPlayer($login);
|
$player = $this->maniaControl->playerManager->getPlayer($login);
|
||||||
if($player != null)
|
if($player != null)
|
||||||
$this->showPlayerList($player);
|
$this->showPlayerList($player);
|
||||||
|
Loading…
Reference in New Issue
Block a user