diff options
Diffstat (limited to 'apps/plugins/superdom.c')
-rw-r--r-- | apps/plugins/superdom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/superdom.c b/apps/plugins/superdom.c index d26e98803e..d5d08fb162 100644 --- a/apps/plugins/superdom.c +++ b/apps/plugins/superdom.c | |||
@@ -626,7 +626,7 @@ int save_game(void) { | |||
626 | return -1; | 626 | return -1; |
627 | } | 627 | } |
628 | 628 | ||
629 | fd = rb->open(savepath, O_WRONLY|O_CREAT); | 629 | fd = rb->open(savepath, O_WRONLY|O_CREAT, 0666); |
630 | DEBUGF("savepath: %s\n", savepath); | 630 | DEBUGF("savepath: %s\n", savepath); |
631 | if(fd < 0) { | 631 | if(fd < 0) { |
632 | DEBUGF("Couldn't create/open file\n"); | 632 | DEBUGF("Couldn't create/open file\n"); |