mirror of
https://github.com/Wyrrrd/Gun_Turret_Alerts.git
synced 2026-06-10 18:58:30 +02:00
Fix empty table cleanup
This commit is contained in:
+1
-1
@@ -240,7 +240,7 @@ local function generate_alerts()
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
-- Cleanup if table is empty
|
-- Cleanup if table is empty
|
||||||
ammo_entites = nil
|
storage.ammo_entities[surface.name.."_"..player.force.name] = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user