File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -459,14 +459,11 @@ IntegrationStatus
459
459
GameSession::get_status () const
460
460
{
461
461
IntegrationStatus status;
462
- status.m_details .push_back (" Playing" );
463
- if (get_current_level (). is_worldmap () )
462
+ status.m_details .push_back (Editor::current () ? " Testing " : " Playing" );
463
+ if (! Editor::current () || !g_config-> hide_editor_levelnames )
464
464
{
465
- status.m_details .push_back (" In worldmap: " + get_current_level ().get_name ());
466
- }
467
- else
468
- {
469
- status.m_details .push_back (" In level: " + get_current_level ().get_name ());
465
+ const std::string label = get_current_level ().is_worldmap () ? " In worldmap: " : " In level: " ;
466
+ status.m_details .push_back (label + get_current_level ().get_name ());
470
467
}
471
468
return status;
472
469
}
You can’t perform that action at this time.
0 commit comments