diff --git a/apps/wolf_3d_gui/lib/screens/game_screen.dart b/apps/wolf_3d_gui/lib/screens/game_screen.dart index 4b90fd3..a62c1fe 100644 --- a/apps/wolf_3d_gui/lib/screens/game_screen.dart +++ b/apps/wolf_3d_gui/lib/screens/game_screen.dart @@ -218,11 +218,13 @@ class _GameScreenState extends State { } }, child: Scaffold( - floatingActionButton: FloatingActionButton( - onPressed: _openDebugTools, - tooltip: 'Open Debug Tools', - child: const Icon(Icons.bug_report), - ), + floatingActionButton: kDebugMode && _engine.difficulty != null + ? FloatingActionButton( + onPressed: _openDebugTools, + tooltip: 'Open Debug Tools', + child: const Icon(Icons.bug_report), + ) + : null, body: LayoutBuilder( builder: (context, constraints) { return Listener(