- fixed savegame writing for Ion Fury.

The composite's writers may not be deleted, they are needed for creating the final savegame file.
This commit is contained in:
Christoph Oelckers 2019-11-24 21:21:15 +01:00
parent 728635c1c0
commit a4fcf9ee2b

View file

@ -5731,7 +5731,6 @@ int portableBackupSave(const char * path, const char * name, int volume, int lev
} }
fil->Write(encoded, strlen(encoded)); fil->Write(encoded, strlen(encoded));
delete fil;
sjson_free_string(ctx, encoded); sjson_free_string(ctx, encoded);
sjson_destroy_context(ctx); sjson_destroy_context(ctx);