mirror of
https://github.com/wolfpld/tracy.git
synced 2026-11-14 20:05:27 +00:00
Store level name in World.
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user