Cleanup UI for source info, cleanup code

This commit is contained in:
Bruno Herbelin
2022-01-16 17:47:43 +01:00
parent ddccc5ff6b
commit e52785a8b4
7 changed files with 78 additions and 45 deletions

View File

@@ -98,6 +98,8 @@ void SessionSource::setActive (bool on)
void SessionSource::update(float dt)
{
Source::update(dt);
if (session_ == nullptr)
return;
@@ -115,7 +117,6 @@ void SessionSource::update(float dt)
failed_ = true;
}
Source::update(dt);
}
void SessionSource::replay ()