diff options
Diffstat (limited to 'trunk/source/hiscores.cc')
-rw-r--r-- | trunk/source/hiscores.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/trunk/source/hiscores.cc b/trunk/source/hiscores.cc index cbdab9ed2b..ab84678410 100644 --- a/trunk/source/hiscores.cc +++ b/trunk/source/hiscores.cc @@ -1160,6 +1160,9 @@ FILE *hs_open( const char *mode ) { #ifdef SAVE_DIR_PATH FILE *handle = fopen(SAVE_DIR_PATH "scores", mode); +#ifdef SHARED_FILES_CHMOD_PUBLIC + chmod(SAVE_DIR_PATH "scores", SHARED_FILES_CHMOD_PUBLIC); +#endif #else FILE *handle = fopen("scores", mode); #endif |