mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:17:45 +00:00
Base+Snake: Capitalize snake skin names
In Snake, the menu for choosing a skin looked messy due to inconsistent capitalization. Two skins names were entirely lowercase. For the sprite-based skins, the menu takes the name of each skin's directory, so I have capitalized these. Capitalizing the original snake skin required more change than simply renaming a directory.
This commit is contained in:
parent
4b7639c3b5
commit
a7600caea1
33 changed files with 5 additions and 5 deletions
|
@ -14,7 +14,7 @@ namespace Snake {
|
|||
|
||||
ErrorOr<NonnullOwnPtr<SnakeSkin>> SnakeSkin::create(StringView skin_name, Color color)
|
||||
{
|
||||
if (skin_name == "classic"sv)
|
||||
if (skin_name == "Classic"sv)
|
||||
return try_make<ClassicSkin>(color);
|
||||
|
||||
// Try to find an image-based skin matching the name.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue