Skip to content

Commit 26db3d4

Browse files
add profile name/rating back to playinfo (it was accidentally removed)
1 parent af2c86f commit 26db3d4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Themes/Til Death/BGAnimations/_PlayerInfo.lua

+17
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,23 @@ t[#t+1] = Def.ActorFrame{
7373
self:zoomto(50,50)
7474
end,
7575
},
76+
LoadFont("Common Normal") .. {
77+
InitCommand=function(self)
78+
self:xy(AvatarX+53,AvatarY+7):halign(0):zoom(0.6):diffuse(getMainColor('positive'))
79+
end,
80+
BeginCommand=function(self)
81+
self:queuecommand("Set")
82+
end,
83+
SetCommand=function(self)
84+
self:settextf("%s: %5.2f",profileName,playerRating)
85+
end,
86+
PlayerJoinedMessageCommand=function(self)
87+
self:queuecommand("Set")
88+
end,
89+
PlayerUnjoinedMessageCommand=function(self)
90+
self:queuecommand("Set")
91+
end,
92+
},
7693
LoadFont("Common Normal") .. {
7794
InitCommand=function(self)
7895
self:xy(AvatarX+53,AvatarY+20):halign(0):zoom(0.35):diffuse(getMainColor('positive'))

0 commit comments

Comments
 (0)