Faileas / unearthed

Automatically exported from code.google.com/p/unearthed
0 stars 0 forks source link

"Dig site updated" message fires when learning Archaeology for the first time #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When learning Archaeology for the first time with the addon installed and 
enabled, the "Dig site updated" message will appear.  This happens because the 
DIG_SITE_UPDATED event fires when first learning the profession as it populates 
all the continents with dig sites.

Solution:
We should probably not even register all our events unless Archaeology is 
learned.  If Archaeology isn't learned yet, make a "passive" version of the mod 
that only registers for skill learned event, and when that happens, register 
all other events.

Original issue reported on code.google.com by mari...@gmail.com on 8 Dec 2010 at 7:12

GoogleCodeExporter commented 9 years ago

Original comment by mari...@gmail.com on 8 Dec 2010 at 7:15