From 26db3d41472b2328d76b0272aa7dc84d5013d6c0 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 14 Nov 2017 22:53:56 -0500 Subject: [PATCH] add profile name/rating back to playinfo (it was accidentally removed) --- Themes/Til Death/BGAnimations/_PlayerInfo.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Themes/Til Death/BGAnimations/_PlayerInfo.lua b/Themes/Til Death/BGAnimations/_PlayerInfo.lua index c77385b2f9..b3c6781de8 100644 --- a/Themes/Til Death/BGAnimations/_PlayerInfo.lua +++ b/Themes/Til Death/BGAnimations/_PlayerInfo.lua @@ -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'))