mirror of
https://github.com/furyfire/trueskill.git
synced 2025-05-07 20:28:09 +00:00
More stringable
This commit is contained in:
@ -77,6 +77,6 @@ class PlayerPriorValuesToSkillsLayer extends TrueSkillFactorGraphLayer
|
||||
$parentFactorGraph = $this->getParentFactorGraph();
|
||||
$variableFactory = $parentFactorGraph->getVariableFactory();
|
||||
|
||||
return $variableFactory->createKeyedVariable($key, $key . "'s skill");
|
||||
return $variableFactory->createKeyedVariable($key, (string)$key->getId() . "'s skill");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user