Multiple Instances
Due to the new additions to how dependencies work, you now have to strictly define how many instances you have in your game. You do this by passing the instances
property to the config parameter when calling Quebec.run
:
require(game.ReplicatedStorage.Quebec).run(script.services, {
instances = { "main", "common" }
})
Now, Quebec would wait for two instances to register before running all singletons. You have to define the current instance as well. If you have two instances, then the table must have a length of 2.
Last updated