VulpusMaximus/ulx-jb7

Rework opencells/etc. to use the new controldisco loading system

Closed this issue · 2 comments

opencells/etc. currently search for a working config every time they are run, and might also partially run on failed configs. This isn't ideal in many ways, and the new controldisco command does things a lot better. The older commands should be reworked to use this new system.

Commit 5cc60cd means that commands are only loaded if there is a valid config, and the config's ID is set to be used later. The commands themselves haven't yet been changed to work any differently, but they are only loaded when valid and the ID is already available to use when it comes to developing that.

opencells, openarmory, and cellsstatus all now work the same way that controldisco does, so they don't search for a valid config every time the command is called - only when the map loads.