Skip to content

Commit

Permalink
fixed entity reference for cloned
Browse files Browse the repository at this point in the history
  • Loading branch information
Troels Bjerre Lund committed Mar 23, 2019
1 parent f6f19c1 commit 58f4aa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ end

--[[ A function that is called whenever an entity is built (both by player and by robots) ]]--
local function built(event)
local entity = event.created_entity
local entity = event.created_entity or event.entity
local data
-- If the entity that's been built is an assembly machine or a furnace...
if entity.type == "assembling-machine" then
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name":"Bottleneck",
"author":"Troels Bjerre Lund",
"version":"0.10.2",
"version":"0.10.3",
"factorio_version": "0.17",
"title":"Bottleneck",
"homepage":"https://forums.factorio.com/viewtopic.php?f=144&t=28817",
Expand Down

0 comments on commit 58f4aa2

Please sign in to comment.