Skip to content

Commit

Permalink
improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelBarbosatec committed Jan 2, 2025
1 parent 1945288 commit 9e67a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/base/bonfire_game.dart
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ class BonfireGame extends BaseGame implements BonfireGameInterface {
super.update(dt);
_intervalUpdateOder.update(dt);
_intervalOprimizeTree.update(dt);
// ignore: use_if_null_to_convert_nulls_to_bools
if (!_gameMounted && camera.world?.children.isNotEmpty == true) {
final containsChildren = camera.world?.children.isNotEmpty == true;
if (!_gameMounted && containsChildren) {
_gameMounted = true;
Future.delayed(Duration.zero, _notifyGameMounted);
}
Expand Down

0 comments on commit 9e67a95

Please sign in to comment.