Skip to content

Commit

Permalink
Fix crash when loading old savegames with custom messages and autosav…
Browse files Browse the repository at this point in the history
…e enabled
  • Loading branch information
crudelios committed Jan 31, 2025
1 parent 61da5f3 commit fc4ed47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scenario/custom_variable.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,5 @@ void scenario_custom_variable_load_state_old_version(buffer *buf)
message_media_text_blob_mark_entry_as_unused(text);
}
array_trim(custom_variables);
message_media_text_blob_remove_unused();
}

0 comments on commit fc4ed47

Please sign in to comment.