Fix new save crash

This commit is contained in:
David Skrundz 2024-11-04 19:44:26 -08:00
parent eb17157d4e
commit daaf22b726
Signed by: DavidSkrundz
GPG Key ID: D7006AAB6214A600
3 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,9 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 2.0.1
Date: 04.11.2024
Bugfixes:
- Prevent crash on new saves
---------------------------------------------------------------------------------------------------
Version: 2.0.0 Version: 2.0.0
Date: 20.10.2024 Date: 20.10.2024
Major Features: Major Features:

View File

@ -14,6 +14,8 @@ script.on_init(function()
storage.active.mining_drills = {} -- [Tick:Entity] storage.active.mining_drills = {} -- [Tick:Entity]
storage.passive = {} storage.passive = {}
storage.passive.mining_drills = {} -- [Entity.unit_number:Entity] storage.passive.mining_drills = {} -- [Entity.unit_number:Entity]
recompute_max_mining_drill_radius()
end) end)
script.on_load(function() script.on_load(function()

View File

@ -1,6 +1,6 @@
{ {
"name": "Teardown", "name": "Teardown",
"version": "2.0.0", "version": "2.0.1",
"title": "Teardown", "title": "Teardown",
"description": "Automate the removal of depleted miners", "description": "Automate the removal of depleted miners",
"author": "David Skrundz", "author": "David Skrundz",