toconnell / kdm-manager

An interactive campaign manager for the game "Monster", by Kingdom Death. Development blog and release notes at https://blog.kdm-manager.com This project has no affiliation with Kingdom Death and is a totally independent, fan-maintained project.
http://kdm-manager.com
Other
26 stars 11 forks source link

Settlement Sheet: adding nemesis throws JS error #530

Closed toconnell closed 5 years ago

toconnell commented 5 years ago

nemesis_js_error_log

toconnell commented 5 years ago

Ok, so it looks like this happens on the refresh, i.e. when we refresh the settlement after adding the nemesis to the list: it changes the selector, which, which fires the addNemesis() func onChange.

toconnell commented 5 years ago

Setting $scope.addNemesisMonster back to undefined in the addNemesis() func (before it's done) seems to fix this.

This one will go out in the next release.