small fixes
This commit is contained in:
parent
ded31811a3
commit
8a1fddf416
@ -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