diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2021-03-02 21:58:41 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2021-03-02 21:58:41 +0300 |
commit | baeb28e714b477f0fb09ad0cbe70c8b8af39d312 (patch) | |
tree | 97097f584c32448e42dc648ba58c25e10ea43691 | |
parent | 233fb68cb852fbfcfe39e3c291768f76e178523c (diff) | |
download | takethis-baeb28e714b477f0fb09ad0cbe70c8b8af39d312.tar takethis-baeb28e714b477f0fb09ad0cbe70c8b8af39d312.tar.xz takethis-baeb28e714b477f0fb09ad0cbe70c8b8af39d312.zip |
Loading fix.
-rw-r--r-- | src/game.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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') { |