mirror of
https://github.com/furyfire/trueskill.git
synced 2025-11-24 19:18:09 +01: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