2. Put the following code in data-updates.lua
3. Launch the game. It crashes
Code: Select all
for _, prototype in pairs(data.raw["corpse"] or {}) do
prototype.animation = nil
prototype.decay_animation = nil
end
Code: Select all
for _, prototype in pairs(data.raw["corpse"] or {}) do
prototype.animation = nil
prototype.decay_animation = nil
end