We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 206fb88 commit 2aed2dfCopy full SHA for 2aed2df
data-updates.lua
@@ -1,8 +1,9 @@
1
do
2
- -- I think we need this in -updates, because I think elevated-rails
3
- -- modifies the locomotive prototype in -updates? I've not double checked.
+ -- ZZZ this could be moved to data, because elevated-rails updates
+ -- ZZZ the locomotive in the first stage, and we optdep on it
4
+ local util = require("__core__/lualib/util")
5
- local shuttle = table.deepcopy(data.raw.locomotive.locomotive)
6
+ local shuttle = util.copy(data.raw.locomotive.locomotive)
7
shuttle.name = "folk-shuttle"
8
shuttle.icon = "__folk-shuttle__/graphics/folk-shuttle-locomotive.png"
9
shuttle.minable.result = "folk-shuttle"
0 commit comments