# HG changeset patch
# User antonc27 <antonc27@mail.ru>
# Date 1462229978 -7200
# Node ID 0327d20fa4a13f8862a05d83b2834c4ca3d6d8d7
# Parent  947e2d53afc17b5db1a7684f5a1a3f7552eeae12
[BUG 66] - Create '/Logs' folder if not exists

diff -r 947e2d53afc1 -r 0327d20fa4a1 hedgewars/uUtils.pas
--- a/hedgewars/uUtils.pas	Sun May 01 14:32:47 2016 +0200
+++ b/hedgewars/uUtils.pas	Tue May 03 00:59:38 2016 +0200
@@ -586,6 +586,8 @@
 {$IFDEF USE_VIDEO_RECORDING}
     InitCriticalSection(logMutex);
 {$ENDIF}
+    if not pfsExists('/Logs') then
+        pfsMakeDir('/Logs');
     // if log is locked, write to the next one
     i:= 0;
     while(i < 7) do