Skip to content

Commit 3fe5e9c

Browse files
committed
Prevent a crash when cut pasting a factory
1 parent 7709d4c commit 3fe5e9c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mods/factoryplanner-is-exportable-to-fake-factorissimo/info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "factoryplanner-is-exportable-to-fake-factorissimo",
33
"title": "Factory Planner - exportable to fake factorissimo",
44
"description": "Skips the building stage, just feed items into the magic box.",
5-
"version": "1.0.9",
5+
"version": "1.0.10",
66
"author": "Quezler",
77
"factorio_version": "1.1",
88
"dependencies": [

mods/factoryplanner-is-exportable-to-fake-factorissimo/scripts/factory.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ function Factory.on_created_entity(event)
7070
goto clipboard_copied_from_source_struct
7171
end
7272
end
73+
return
7374
end
7475

7576
if event.robot then

0 commit comments

Comments
 (0)