WebP lobby images (#25184)
This commit is contained in:
parent
97b113c580
commit
93503d9fd1
|
|
@ -13,7 +13,7 @@ public sealed partial class GameTicker
|
|||
[ViewVariables]
|
||||
private List<ResPath>? _lobbyBackgrounds;
|
||||
|
||||
private static readonly string[] WhitelistedBackgroundExtensions = new string[] {"png", "jpg", "jpeg"};
|
||||
private static readonly string[] WhitelistedBackgroundExtensions = new string[] {"png", "jpg", "jpeg", "webp"};
|
||||
|
||||
private void InitializeLobbyBackground()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
Note:
|
||||
Only png and jpgs files are supported, and you need a prototype in Resources/Prototypes/lobbyscreens.yml
|
||||
PNG, JPEG and WebP is supported. Please prefer a lossy WebP compression since lobby art is big.
|
||||
You also need to put a prototype in Resources/Prototypes/lobbyscreens.yml
|
||||
|
|
|
|||
Loading…
Reference in New Issue