Commits

featheredmelody committed 518f489

[Bugfix] Fixed being able to move preset player units.

  • Participants
  • Parent commits 842ec80

Comments (0)

Files changed (1)

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

 
                         # No unit is currently selected: Add
                         if not current_unit:
-                            if unit and self.all_units_by_name[unit].team == 1:
+                            if unit and self.all_units_by_name[unit].team == 1 and unit not in self.preset_units.keys():
                                 current_unit = self.all_units_by_name[unit]
                                 current_unit.sprite.transparent_flag = True