Skip to content

Commit

Permalink
Add flag for scavenger hunt
Browse files Browse the repository at this point in the history
  • Loading branch information
spydon committed Sep 22, 2023
1 parent 00c95cc commit f77514d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/end_game/view/end_game_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class _EndGamePageState extends State<EndGamePage> {
late StreamSubscription<GamepadEvent> _gamepadSubscription;
late GamepadNavigator _gamepadNavigator;

bool isScavengerHunt = true;
bool updatingFirebase = true;
bool receivedTopPlayers = false;
bool minDurationElapsed = false;
Expand Down Expand Up @@ -172,7 +173,7 @@ class _EndGamePageState extends State<EndGamePage> {
),
],
),
if (topPlayers.isNotEmpty) ...[
if (isScavengerHunt && topPlayers.isNotEmpty) ...[
Text(
'Congratulations, the following players have received\n'
'an achievement and can scan the QR code with the F3 app!',
Expand Down

0 comments on commit f77514d

Please # to comment.