aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UMain.pas
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Classes/UMain.pas')
-rw-r--r--Game/Code/Classes/UMain.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas
index b1469f00..f25eaa87 100644
--- a/Game/Code/Classes/UMain.pas
+++ b/Game/Code/Classes/UMain.pas
@@ -1051,7 +1051,7 @@ procedure InitializePaths;
If DirectoryExists(aPathVar) then
begin
- lAttrib := fileGetAttr('C:Temp');
+ lAttrib := fileGetAttr(aPathVar);
lWriteable := ( lAttrib and faDirectory <> 0 ) AND
NOT ( lAttrib and faReadOnly <> 0 )