Skip to content

Commit

Permalink
fix gdre_logger in gui mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitalita committed Jan 27, 2025
1 parent 6b074a9 commit fabfa98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utility/gdre_logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

bool inGuiMode() {
//check if we are in GUI mode
if (GDRESettings::get_singleton() && !GDRESettings::get_singleton()->is_headless()) {
if (GDRESettings::get_singleton() && !GDRESettings::get_singleton()->is_headless() && GodotREEditorStandalone::get_singleton()) {
return true;
}
return false;
Expand Down

0 comments on commit fabfa98

Please sign in to comment.