diff --git a/DnD_5e/DnD_5e.html b/DnD_5e/DnD_5e.html
index e16d556b34..c723350125 100644
--- a/DnD_5e/DnD_5e.html
+++ b/DnD_5e/DnD_5e.html
@@ -11849,7 +11849,7 @@
Prepared
-
+
@@ -18336,6 +18336,11 @@
});
});
};
+
+ on('sheet:opened',function(){
+ countPreparedSpells();
+ });
+
on("change:repeating_spellbooklevel1", function(eventInfo) {
if(eventInfo.sourceAttribute.match(/spellisprepared/)) {
countPreparedSpells();
@@ -18391,9 +18396,9 @@
});
on("change:drop_category", function(eventinfo) {
- if(eventinfo.newValue === "Monsters") {
- handle_drop_monster(eventinfo.newValue);
- }
+ if(eventinfo.newValue === "Monsters") {
+ handle_drop_monster(eventinfo.newValue);
+ }
});
var handle_drop_monster = function(category, eventinfo) {