summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index 4ddb0e3..601a71f 100644
--- a/src/game.c
+++ b/src/game.c
@@ -161,6 +161,7 @@ static void save()
static void load()
{
FILE *f = fopen("save", "r");
+ if (!f) return;
first_gulag = readnum(f);
int c = fgetc(f);
if (c == 'g') {