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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user