Skip to content

Commit 06a642f

Browse files
committed
fix typos
1 parent 64fb208 commit 06a642f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

control.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ function on_player_selected_area(event)
133133
player.print("Can't insert "..module.." in "..entity.name)
134134
valid_modules = false
135135
end
136-
if entity.type == "assembling-machine" and entity.recipe and next(prototype.limitations) and not prototype.limitations[entity.recipe] then
137-
player.print({"", "Can't use ", module.localised_name, " with recipe: ", entity.recipe.localised_name})
136+
if entity.type == "assembling-machine" and entity.recipe and next(prototype.limitations) and not prototype.limitations[entity.recipe.name] then
137+
player.print({"", "Can't use ", prototype.localised_name, " with recipe: ", entity.recipe.localised_name})
138138
valid_modules = false
139139
end
140140
end

info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ModuleInserter",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"factorio_version": "0.13",
55
"title": "Module Inserter",
66
"author": "Choumiko",

0 commit comments

Comments
 (0)