File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
mods/se-interstellar-construction-requests-fulfillment Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " se-interstellar-construction-requests-fulfillment" ,
3
3
"title" : " Space Exploration - interstellar construction requests fulfillment" ,
4
4
"description" : " Keeping building equipment stocked at every planet is tedious, just shoot it there from nauvis." ,
5
- "version" : " 1.0.2 " ,
5
+ "version" : " 1.0.3 " ,
6
6
"author" : " Quezler" ,
7
7
"factorio_version" : " 1.1" ,
8
8
"dependencies" : [
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ function Handler.shoot(struct)
98
98
end
99
99
100
100
function Handler .handle_construction_alert (alert )
101
+ if not alert .target then return end -- attempt to index field 'target' (a nil value)
101
102
if not alert .target .valid then return end -- ghost might have been removed or revived already
102
103
if alert .target .name ~= " entity-ghost" then return end -- can be "item-request-proxy" or "tile-ghost"
103
104
You can’t perform that action at this time.
0 commit comments