[2.0.51] Crash rendering corpse with animations removed
Posted: Tue May 20, 2025 7:28 am
1. Create a mod with the following code in data-updates.lua
2. Load a save file (this is one of gleba menu simulations, the crash can also happen on main menu)
3. Unpause time. Game crashes presumably due to corpses being created
Code: Select all
for _, prototype in pairs(data.raw.corpse) do
prototype.animation = nil
prototype.animation_overlay = nil
prototype.decay_animation = nil
prototype.splash = nil
prototype.ground_patch = nil
prototype.ground_patch_higher = nil
prototype.ground_patch_decay = nil
prototype.underwater_patch = nil
prototype.direction_shuffle = nil
end