mirror of
https://github.com/Wyrrrd/Gun_Turret_Alerts.git
synced 2026-10-14 21:28:26 +02:00
Fix empty table cleanup
This commit is contained in:
1 parent
c837b99a01
commit
037d321604
1 file changed
+1
-1
+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