small fixes

This commit is contained in:
kremsy 2014-01-04 00:11:12 +01:00
parent ded31811a3
commit 8a1fddf416
2 changed files with 3 additions and 2 deletions

View File

@ -565,6 +565,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
case self::ACTION_OPEN_PLAYER_DETAILED:
$player = $this->maniaControl->playerManager->getPlayer($adminLogin);
$this->maniaControl->playerManager->playerDetailed->showPlayerDetailed($player, $targetLogin);
unset($this->playersListShown[$player->login]);
break;
case self::ACTION_FORCE_BLUE:
$this->maniaControl->playerManager->playerActions->forcePlayerToTeam($adminLogin, $targetLogin, PlayerActions::BLUE_TEAM);

View File

@ -22,7 +22,7 @@ class StatisticCollector implements CallbackListener {
/*
* Statistics
*/
const STAT_ON_SHOOT = 'Shoots';
const STAT_ON_SHOOT = 'Shots';
const STAT_ON_NEARMISS = 'Near Misses';
const STAT_ON_CAPTURE = 'Captures';
const STAT_ON_HIT = 'Hits';