Make sure that power flow won't exceed network capabilities
This commit is contained in:
@@ -103,7 +103,8 @@ local function registerCable(name,displayName,size,flow,registerInsulated)
|
||||
"group:_industrialtest_hasPowerOutput",
|
||||
"group:_industrialtest_cable"
|
||||
},
|
||||
on_construct=cable.onConstruct
|
||||
on_construct=cable.onConstruct,
|
||||
_industrialtest_cableFlow=flow
|
||||
}
|
||||
if industrialtest.mtgAvailable then
|
||||
definition.groups={
|
||||
|
||||
Reference in New Issue
Block a user