Mercurial > wow > worldplan
diff WorldPlan.lua @ 18:08b03bcdfeac
ClassPlan:
- Significant load time improvements in the order hall.
* Data events are spammed gratuitously at load-in, so any sort of operation that results should be done from a delayed enclosure. In this case: using a self-destructing C_Timer identified by the function handle, and setting a flag that frame scripts can respond to.
author | Nenue |
---|---|
date | Mon, 24 Oct 2016 18:23:06 -0400 |
parents | 8b1e8ba5753d |
children | 4a7e89bffbcb |
line wrap: on
line diff
--- a/WorldPlan.lua Mon Oct 24 06:00:21 2016 -0400 +++ b/WorldPlan.lua Mon Oct 24 18:23:06 2016 -0400 @@ -378,7 +378,15 @@ self.db.WorldQuests = self.db.WorldQuests or {} db = self.db for k,v in pairs(defaults) do + --[===[@non-debug@ + if not db[k] then + db[k] = v + end + + --@end-non-debug@]===] + --@debug@ db[k] = v + --@end-debug@ end self.currentMapID = GetCurrentMapAreaID()