Skip to content

Commit

Permalink
add profile name/rating back to playinfo (it was accidentally removed)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 15, 2017
1 parent af2c86f commit 26db3d4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Themes/Til Death/BGAnimations/_PlayerInfo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,23 @@ t[#t+1] = Def.ActorFrame{
self:zoomto(50,50)
end,
},
LoadFont("Common Normal") .. {
InitCommand=function(self)
self:xy(AvatarX+53,AvatarY+7):halign(0):zoom(0.6):diffuse(getMainColor('positive'))
end,
BeginCommand=function(self)
self:queuecommand("Set")
end,
SetCommand=function(self)
self:settextf("%s: %5.2f",profileName,playerRating)
end,
PlayerJoinedMessageCommand=function(self)
self:queuecommand("Set")
end,
PlayerUnjoinedMessageCommand=function(self)
self:queuecommand("Set")
end,
},
LoadFont("Common Normal") .. {
InitCommand=function(self)
self:xy(AvatarX+53,AvatarY+20):halign(0):zoom(0.35):diffuse(getMainColor('positive'))
Expand Down

0 comments on commit 26db3d4

Please sign in to comment.