So I made a plugin to create power grids, however I’m running into an issue that I have no idea what causes it nor how to fix it.
The plugin has a “Output mode” function that allows you to connect multiple fixtures to a switch or breaker, it works perfectly fine in my workspace map or when I load the plugin in an older map that didn’t have it, but when I create a new map, the plugin just won’t work properly when I try to use it.
The amount of selected items doesn’t display correctly / takes a few seconds to update and nothing will connect if I have multiple objects selected, which like I said, is not an issue when I load an older map.
I am really confused and I have no idea what to do since I still have to release this plugin.