1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

don't shadow variable

This commit is contained in:
grilledham 2019-06-19 18:20:04 +01:00
parent e579783899
commit 67961322c1

View File

@ -88,8 +88,8 @@ local function entity_built(event)
local stack = {name = nil, count = settings_get(player_index, ammo_count_name)}
for name, enabled in pairs(get_player_ammos(player_index)) do
if not enabled then
for name, ammo_enabled in pairs(get_player_ammos(player_index)) do
if not ammo_enabled then
goto continue
end