X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fevents.py;h=4d3fb07f80a94bc5502edfa048b3e0e017c80393;hb=77c817eaeef44416ff09cd53024db9a80f032ba4;hp=01df79c162a34b5c652374847296f1623b082fa6;hpb=e6371744b346217a9348a694462354ae644fc032;p=naja.git diff --git a/naja/events.py b/naja/events.py index 01df79c..4d3fb07 100644 --- a/naja/events.py +++ b/naja/events.py @@ -25,8 +25,8 @@ class SceneChangeEvent(NajaEvent): TYPE = "SCENE_CHANGE" @classmethod - def post(cls, scene): - super(SceneChangeEvent, cls).post(scene=scene) + def post(cls, scene_cls): + super(SceneChangeEvent, cls).post(scene_cls=scene_cls) class QuitGameEvent(NajaEvent):