Return to repo list

heart-of-gold

Tactical RPG written in python, using pygame.
Return to HMagellan.com

commit 586b3e78d341574e556ba22929dd8e942ba79a85
parent 4ed06e6fc8b3465f0dc946b7df0aca7c9a00191a
Author: Erik Letson <hmagellan@hmagellan.com>
Date:   Tue, 29 Dec 2020 21:25:12 -0600

fixed facing crash

Diffstat:
Msrc/interface.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/interface.py b/src/interface.py @@ -198,6 +198,7 @@ class GameInterface(subsystem.GameSubsystem): # Drag facing if self.drag_piece: + ap = self.bus.fetch("turn_manager", "active_piece") diff = (self.drag_from_pos[0] - mouseraw[0], self.drag_from_pos[1] - mouseraw[1]) if diff != (0, 0): if abs(diff[0]) > abs(diff[1]):