圣诞节彩蛋

This commit is contained in:
MrZ626
2020-12-25 18:05:12 +08:00
parent 5a355a1d11
commit c7bd0e0e03
3 changed files with 15 additions and 1 deletions

View File

@@ -822,6 +822,13 @@ function WIDGET.set(list)
list[i]:reset()
end
end
if FESTIVAL=="Xmas"and SCN.cur~="custom_field"then
for _,W in next,list do
if W.color then
W.color=math.random()<.5 and COLOR.red or COLOR.white
end
end
end
end
function WIDGET.setLang(widgetText)
for S,L in next,SCN.scenes do