R3E live stream overlay editing(current standings)

Hi, I have changed a few things in the stream overlay for R3E but how to edit the current standings so it shows full lastnames, like ''Larsen'' instead of ''LAR'' as its by default?... Have seen on RaceDepartment streams that they have changed it so show full names, so hope someone here can help
 
Go to ->

spectator\assets\components\widgets\currentStandings

open currentStandings.jsx

Then find the fixName: function (name) in that file

Replace that section with with:

fixName: function(name) {
var parts = name.split(' ');
return parts[parts.length-1].substr(0, 15).toUpperCase();
 

Latest News

How often do you meet up (IRL) with your simracing friends?

  • Weekly

    Votes: 54 9.3%
  • Monthly

    Votes: 28 4.8%
  • Yearly

    Votes: 35 6.0%
  • Weekly at lan events

    Votes: 3 0.5%
  • Monthly at lan events

    Votes: 2 0.3%
  • Yearly at lan events

    Votes: 13 2.2%
  • Never have

    Votes: 456 78.5%
Back
Top