Describe the bugFINAdvancedNetworkConnectionComponent.NetworkUpdate signal is not triggered when a component is removed from the network.
To Reproduce
Steps to reproduce the behavior:
Build this computer: case, CPU, RAM.
Use this snippet in your EEPROM:
case = component.proxy(component.findComponent(findClass("ComputerCase"))[1])
netCon = case:getNetworkConnectors()[1]
event.ignoreAll()
event.clear()
event.listen(netCon)
while true do
e, s, changeType, comp = event.pull()
print(e, s, changeType, comp)
end
3. Add a codeable splitter to your network. Observe that `print` worked.
4. Remove the splitter from the network. Observe that nothing has been printed.
**Expected behavior**
The signal is triggered when a component is removed.
Describe the bug
FINAdvancedNetworkConnectionComponent.NetworkUpdate
signal is not triggered when a component is removed from the network.To Reproduce Steps to reproduce the behavior:
event.ignoreAll() event.clear() event.listen(netCon) while true do e, s, changeType, comp = event.pull() print(e, s, changeType, comp) end