small fixes
This commit is contained in:
parent
ded31811a3
commit
8a1fddf416
@ -166,7 +166,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
|
|||||||
$lineQuad->setZ(0.001);
|
$lineQuad->setZ(0.001);
|
||||||
}
|
}
|
||||||
|
|
||||||
$array = array($i => $x + 5, $listPlayer->nickname => $x + 18, $listPlayer->login => $x + 60, $path => $x + 91);
|
$array = array($i => $x + 5, $listPlayer->nickname => $x + 18, $listPlayer->login => $x + 60, $path => $x + 91);
|
||||||
$frames = $this->maniaControl->manialinkManager->labelLine($playerFrame, $array);
|
$frames = $this->maniaControl->manialinkManager->labelLine($playerFrame, $array);
|
||||||
|
|
||||||
/** @var Label $nicknameLabel */
|
/** @var Label $nicknameLabel */
|
||||||
@ -565,6 +565,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
|
|||||||
case self::ACTION_OPEN_PLAYER_DETAILED:
|
case self::ACTION_OPEN_PLAYER_DETAILED:
|
||||||
$player = $this->maniaControl->playerManager->getPlayer($adminLogin);
|
$player = $this->maniaControl->playerManager->getPlayer($adminLogin);
|
||||||
$this->maniaControl->playerManager->playerDetailed->showPlayerDetailed($player, $targetLogin);
|
$this->maniaControl->playerManager->playerDetailed->showPlayerDetailed($player, $targetLogin);
|
||||||
|
unset($this->playersListShown[$player->login]);
|
||||||
break;
|
break;
|
||||||
case self::ACTION_FORCE_BLUE:
|
case self::ACTION_FORCE_BLUE:
|
||||||
$this->maniaControl->playerManager->playerActions->forcePlayerToTeam($adminLogin, $targetLogin, PlayerActions::BLUE_TEAM);
|
$this->maniaControl->playerManager->playerActions->forcePlayerToTeam($adminLogin, $targetLogin, PlayerActions::BLUE_TEAM);
|
||||||
|
@ -22,7 +22,7 @@ class StatisticCollector implements CallbackListener {
|
|||||||
/*
|
/*
|
||||||
* Statistics
|
* Statistics
|
||||||
*/
|
*/
|
||||||
const STAT_ON_SHOOT = 'Shoots';
|
const STAT_ON_SHOOT = 'Shots';
|
||||||
const STAT_ON_NEARMISS = 'Near Misses';
|
const STAT_ON_NEARMISS = 'Near Misses';
|
||||||
const STAT_ON_CAPTURE = 'Captures';
|
const STAT_ON_CAPTURE = 'Captures';
|
||||||
const STAT_ON_HIT = 'Hits';
|
const STAT_ON_HIT = 'Hits';
|
||||||
|
Loading…
Reference in New Issue
Block a user