Skip to content

Commit

Permalink
Add player name to the themes menu
Browse files Browse the repository at this point in the history
  • Loading branch information
sago007 committed Feb 25, 2024
1 parent 5b5139a commit 7bb13b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/code/menudef_themes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class ThemesMenu : public Menu {

ThemesMenu(SDL_Renderer* screen, const std::string& title, bool submenu) : Menu(screen, title, submenu) {
game = std::make_shared<BlockGameSdl>(globalData.xsize-450,100,&globalData.spriteHolder->GetDataHolder());
game->name = "Player 1";
game->putSampleBlocks();
sagoTextSetBlueFont(themeTitle);
}
Expand Down

0 comments on commit 7bb13b4

Please sign in to comment.