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:
parent
e579783899
commit
67961322c1
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user