diff mamba/engine.py @ 304:49fe66680ff8

And even death shall lose it's mysteries
author Neil Muller <drnlmuller@gmail.com>
date Fri, 16 Sep 2011 17:37:28 +0200
parents de3b4048e54a
children 13eaea2365b3
line wrap: on
line diff
--- a/mamba/engine.py	Fri Sep 16 17:35:50 2011 +0200
+++ b/mamba/engine.py	Fri Sep 16 17:37:28 2011 +0200
@@ -97,8 +97,8 @@
     TYPE = "SNAKE_DIED"
 
     @classmethod
-    def post(cls):
-        super(SnakeDiedEvent, cls).post()
+    def post(cls, reason):
+        super(SnakeDiedEvent, cls).post(reason=reason)
 
 
 class LevelCompletedEvent(UserEvent):