Allow training window exit()

pull/310/head
scrawl 7 years ago
parent 9cde3e4408
commit 479f9535b4

@ -203,4 +203,10 @@ namespace MWGui
checkReferenceAvailable();
mTimeAdvancer.onFrame(dt);
}
bool TrainingWindow::exit()
{
return !mTimeAdvancer.isRunning();
}
}

@ -16,7 +16,7 @@ namespace MWGui
virtual void onOpen();
bool exit() { return false; }
bool exit();
void setPtr(const MWWorld::Ptr& actor);

Loading…
Cancel
Save