1
0
mirror of https://github.com/Wyrrrd/Gun_Turret_Alerts.git synced 2026-06-02 15:32:28 +02:00

Fix empty table cleanup

This commit is contained in:
Wyrrrd
2024-11-10 15:01:04 +01:00
parent c837b99a01
commit 037d321604
+1 -1
View File
@@ -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