Fix new save crash
This commit is contained in:
parent
eb17157d4e
commit
daaf22b726
|
@ -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:
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue