diff --git a/control.lua b/control.lua index f60b86e..d4cf203 100644 --- a/control.lua +++ b/control.lua @@ -240,7 +240,7 @@ local function generate_alerts() end else -- Cleanup if table is empty - ammo_entites = nil + storage.ammo_entities[surface.name.."_"..player.force.name] = nil end end end