no more long nicknames which overlaps other text
This commit is contained in:
parent
f5d4fe37da
commit
3a1f295e4e
|
@ -587,7 +587,7 @@ void BattleEnd::render() {
|
|||
|
||||
Vec3f color = stats.getPlayerColor(i);
|
||||
if(stats.getPlayerName(i) != "") {
|
||||
string textToRender=stats.getPlayerName(i);
|
||||
string textToRender=stats.getPlayerName(i).substr(0,11);
|
||||
if(stats.getPlayerLeftBeforeEnd(i)==true){
|
||||
textToRender+="\n("+getTimeDuationString(stats.getTimePlayerLeft(i),GameConstants::updateFps) + ")";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue