Skip to content
Permalink
Browse files

Fix recursive dependency in TOC

The main addon depends upon the registry data, which itself depends
upon the main addon. The fact this works is pure luck, but it's by
no means likely meant to be supported.

As the registry data addon does nothing, we'll instead remove its
dependency upon the main addon. Additionally, flag it as LoD since
there's no need to load the registry data if the main addon is itself
disabled.

Potentially users could now disable the registry data; if that's
actually an issue (I'd *expect* the registry to be optional...)
then we could force-enable it prior to loading from the main
addon perhaps.
  • Loading branch information...
Meorawr committed Jun 30, 2019
1 parent 92c1f47 commit df47a667826dd90b8f1a2765aad8ddddd01c0f49
Showing with 1 addition and 2 deletions.
  1. +1 −2 totalRP3_Data/totalRP3_Data.toc
@@ -3,8 +3,7 @@
## Author: Telkostrasz & Ellypse
## Notes: Data storage
## URL: http://totalrp3.info
## RequiredDeps: totalRP3
## DefaultState: Enabled
## LoadOnDemand: 0
## LoadOnDemand: 1
## SavedVariables: TRP3_Register
totalRP3_Data.lua

0 comments on commit df47a66

Please sign in to comment.
You can’t perform that action at this time.