Store level name in World.

This commit is contained in:
Bartosz Taudul
2026-06-22 15:10:28 +02:00
parent 415197bd5d
commit 67bb927d61
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@ namespace dyna
World::World( const std::string& level_fn, bool with_player )
: map_( std::make_unique<Map>( level_fn ) )
, name_( level_fn.substr( level_fn.rfind( '/' ) + 1 ) )
{
if( with_player )
{