Skip to content

Commit

Permalink
control.lua: yet another get_filtered_entity to get_entity_filtered
Browse files Browse the repository at this point in the history
  • Loading branch information
ahicks92 committed Oct 31, 2024
1 parent f80e244 commit cf95833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8321,7 +8321,7 @@ function regenerate_all_uncharted_spawners(surface_in)

--Get spawner names
local spawner_names = {}
for name, prot in pairs(prototypes.get_filtered_entity({ { filter = "type", type = "unit-spawner" } })) do
for name, prot in pairs(prototypes.get_entity_filtered({ { filter = "type", type = "unit-spawner" } })) do
table.insert(spawner_names, name)
end

Expand Down

0 comments on commit cf95833

Please sign in to comment.