diff options
Diffstat (limited to 'ueditor.rpy')
-rw-r--r-- | ueditor.rpy | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ueditor.rpy b/ueditor.rpy index a77faf5..ef4aa6a 100644 --- a/ueditor.rpy +++ b/ueditor.rpy @@ -313,6 +313,8 @@ init python: uedit["hp"]=copy.copy(HP) allunitsbase[current]["strength"]=copy.copy(STR) allunitsbase[current]["hp"]=copy.copy(HP) + # Correct unit family if needed + allunitsbase[current]["unit_base_id"]=allunitsbase[current]["unit_id"]/100 return |