home · contact · privacy
Fix various minor, mostly "unused" flake8 complaints.
[plomrogue2] / plomrogue / things.py
index cedee68266583f9486dea676a0d67bd5bacb2378..a99460974f7dbc8f435f262b3caf8d14be5a9b79 100644 (file)
@@ -81,8 +81,7 @@ class ThingAnimate(Thing):
             self.task.check()
         except GameError as e:
             self.task = None
-            raise GameError
-            return
+            raise e
         self.task.todo -= 1
         if self.task.todo <= 0:
             self._last_task_result = self.task.do()