When you train one of the townspeople to work as beggar, the game sometimes crashes at the end of turn with the following traceback: Traceback (most recent call last): File "/usr/share/games/qct/qct.py", line 30, in <module> main() File "/usr/share/games/qct/qct.py", line 26, in main driver.run() File "/usr/share/games/qct/states.py", line 54, in run currentState.event(event.key, 1, event.unicode) File "/usr/share/games/qct/gui.py", line 132, in event eventable.event(key, pressed, unicode) File "/usr/share/games/qct/widgets.py", line 252, in event self.callback() File "/usr/share/games/qct/gui.py", line 181, in callback self.parent.callback(self) File "/usr/share/games/qct/town.py", line 203, in callback self.menuAction(object.getChosenIndex()) File "/usr/share/games/qct/town.py", line 239, in menuAction self.endTurn() File "/usr/share/games/qct/town.py", line 214, in endTurn self.subState = turn.EndOfTurnScreen(self.driver(), self) File "/usr/share/games/qct/turn.py", line 24, in __init__ self.costs, self.income = self.updateEconomy() File "/usr/share/games/qct/turn.py", line 301, in updateEconomy townie.job.income(person, townie))) File "/usr/share/games/qct/specializations.py", line 274, in income return int(result * mods) UnboundLocalError: local variable 'result' referenced before assignment
games-simulation/qct is gone.