Commits

featheredmelody  committed 9aff5ce

[Bugfix] Minor fix to trait skill where selecting no on canceling the action would result in odd interface behavior.

  • Participants
  • Parent commits 2db11b3

Comments (0)

Files changed (1)

File Story of a Lost Sky/lostsky/battle/trait_skills.py

                     if event.key == K_z or event.key == K_RETURN:
                         # Can only confirm if targets are actually present
                         if target_list:
+                            unit.map.center_on(unit)
                             return confirm_action
                         elif not confirm_action:
+                            unit.map.center_on(unit)
                             return False
                         else:
                             pass