Closed Edern76 closed 7 years ago
THis bug only seems to happen whn the game is in debug mode
Fixed by adding a not tdl.event.isWindowClosed()
to the part of GetInput which calls CastCreateOrc(). I have no freaking idea why it is necessary but at least now it works. Issue closed.
Sometimes, when clicking on the red cross in order to close the window, instead of properly closing down the game attempts to target a tile. It seems to happen after you already went into targetting mode a few times. Replacing
while not tdl.event.isWindowClosed():
bywhile True:
only seems to make it happen more often.