Исправление. Файл журнала не открывается в Windows, если проект открыт в редакторе

This commit is contained in:
sasha80
2024-10-28 11:52:03 +03:00
parent 5c1a66ab40
commit 283e217238

View File

@@ -211,6 +211,9 @@ func message(level: int, text: String) -> void:
func _open_file() -> void:
if Engine.is_editor_hint():
return
if is_instance_valid(_file) and _file.is_open():
_file.close()