1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:37:44 +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:
Cubic Love 2023-05-06 16:31:07 +01:00 committed by Jelle Raaijmakers
parent 4b7639c3b5
commit a7600caea1
33 changed files with 5 additions and 5 deletions

View file

@ -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.