Skip to content

Commit 1e271bc

Browse files
authored
Also return new infotext after setting it
1 parent 29d1c51 commit 1e271bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

technic/machines/network.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,8 @@ function technic.network_infotext(network_id, text)
151151
local count = 0
152152
for _ in pairs(network.all_nodes) do count = count + 1 end
153153
return S("Building Network: @1 Nodes", count)
154-
else
155-
return network.infotext
156154
end
155+
return network.infotext
157156
end
158157
end
159158

0 commit comments

Comments
 (0)