Mercurial > wow > cyborg-mmo7
diff CyborgMMO7.lua @ 65:8b8b0bade520
Fixed support for mounts using the new MountJournal and mount IDs (no conversion of old profiles at the moment).
author | Jerome Vuarand <jerome.vuarand@gmail.com> |
---|---|
date | Thu, 23 Oct 2014 13:44:59 +0100 |
parents | adba10dfa908 |
children | 06167f9ed2ac |
line wrap: on
line diff
--- a/CyborgMMO7.lua Thu Oct 23 12:17:02 2014 +0100 +++ b/CyborgMMO7.lua Thu Oct 23 13:44:59 2014 +0100 @@ -331,6 +331,10 @@ if not CyborgMMO7SaveData then CyborgMMO7SaveData = {} end + -- cleanup the local mount cache + for mount in pairs(CyborgMMO_MountMap) do + CyborgMMO_LocalMountMap[mount] = nil + end PreLoad(CyborgMMO7SaveData) elseif event == "CYBORGMMO_ASYNC_DATA_LOADED" then AsyncDataLoaded = true