Skip to content
Permalink
Browse files
Fix crash when loading version 3 schematics
  • Loading branch information
ShadowNinja committed Jan 23, 2016
1 parent 4771284 commit f2f714c19e18ede9b3e201b2a5b6bf9828a5dd8d
Showing 1 changed file with 3 additions and 3 deletions.
@@ -144,9 +144,9 @@ local function load_schematic(value)
"([^%s]+)%s+(%d+)%s+(%d+)[^\r\n]*[\r\n]*") do
param1, param2 = tonumber(param1), tonumber(param2)
table.insert(nodes, {
x = originx + tonumber(x),
y = originy + tonumber(y),
z = originz + tonumber(z),
x = tonumber(x),
y = tonumber(y),
z = tonumber(z),
name = name,
param1 = param1 ~= 0 and param1 or nil,
param2 = param2 ~= 0 and param2 or nil,

0 comments on commit f2f714c

Please sign in to comment.