File tree 1 file changed +25
-0
lines changed
Themes/Til Death/BGAnimations
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,31 @@ local o =
246
246
end
247
247
end
248
248
},
249
+ LoadFont (" Common normal" ) ..
250
+ {
251
+ -- informational text about online scores
252
+ Name = " RequestStatus" ,
253
+ InitCommand = function (self )
254
+ if collapsed then
255
+ self :xy (dwidth - 75 , headeroff + 15 ):zoom (tzoom ):halign (1 )
256
+ else
257
+ self :xy (dwidth / 3 , headeroff + 25 ):zoom (tzoom ):halign (1 )
258
+ end
259
+ end ,
260
+ UpdateCommand = function (self )
261
+ local numberofscores = # scoretable
262
+ local online = DLMAN :IsLoggedIn ()
263
+ if not online and # scoretable == 0 then
264
+ self :settext (" Login to view scores" )
265
+ else
266
+ if # scoretable == 0 then
267
+ self :settext (" Retrieving scores..." )
268
+ else
269
+ self :settext (" " )
270
+ end
271
+ end
272
+ end
273
+ },
249
274
LoadFont (" Common normal" ) ..
250
275
{
251
276
-- current rate toggle
You can’t perform that action at this time.
0 commit comments