Add supply auto-purchase and preserve save recovery state
This commit is contained in:
Vendored
+1
@@ -2,6 +2,7 @@ extends RefCounted
|
||||
|
||||
## Build a genuine pre-v10 fixture only when no upkeep ledger history exists.
|
||||
static func strip_empty_upkeep(data: Dictionary) -> void:
|
||||
preload("res://tests/fixtures/pre_auto_purchase_runtime.gd").strip_empty(data)
|
||||
for entry: Dictionary in data[&"economy"][&"entries"]:
|
||||
assert(String(entry.get(&"category", "")) not in ["MAINTENANCE_ACCRUAL", "MAINTENANCE_PAYMENT"])
|
||||
data.erase(&"weather")
|
||||
|
||||
Reference in New Issue
Block a user