mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 17:43:23 -08:00
[Tutorial] Fix review blockers: null VDS guard, overlay QPointer, bounded fill, upgrade seeding
This commit is contained in:
parent
89ef10c862
commit
bfc970b6a9
6 changed files with 33 additions and 5 deletions
|
|
@ -172,6 +172,11 @@ void TabGame::finishTutorialInitialization()
|
|||
tutorialInitialized = true;
|
||||
}
|
||||
|
||||
// No sequence building (and no widget access) once the tutorial is done.
|
||||
if (SettingsCache::instance().userInterface().getTutorialCompleted()) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto deckViewSequence = deckViewContainers.first()->generateTutorialSequence();
|
||||
|
||||
tutorialController->addSequence(deckViewSequence);
|
||||
|
|
@ -328,7 +333,7 @@ void TabGame::finishTutorialInitialization()
|
|||
|
||||
tutorialController->addSequence(gamePlaySequence);
|
||||
|
||||
if (tutorialStarted || SettingsCache::instance().userInterface().getTutorialCompleted()) {
|
||||
if (tutorialStarted) {
|
||||
return;
|
||||
}
|
||||
// The tab may have been shown before the local player joined; start now that
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue