summaryrefslogtreecommitdiff
path: root/apps/plugins/superdom.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/superdom.c')
-rw-r--r--apps/plugins/superdom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/superdom.c b/apps/plugins/superdom.c
index d26e988..d5d08fb 100644
--- a/apps/plugins/superdom.c
+++ b/apps/plugins/superdom.c
@@ -626,7 +626,7 @@ int save_game(void) {
return -1;
}
- fd = rb->open(savepath, O_WRONLY|O_CREAT);
+ fd = rb->open(savepath, O_WRONLY|O_CREAT, 0666);
DEBUGF("savepath: %s\n", savepath);
if(fd < 0) {
DEBUGF("Couldn't create/open file\n");