Mercurial > parpg-source
diff behaviours/npc.py @ 33:77dfe4a917b5
Set default value of layer parameter of BaseBehaviour to None
author | KarstenBock@gmx.net |
---|---|
date | Mon, 05 Sep 2011 14:09:04 +0200 |
parents | 050dc40f9a76 |
children | 12071706020f |
line wrap: on
line diff
--- a/behaviours/npc.py Mon Sep 05 13:56:27 2011 +0200 +++ b/behaviours/npc.py Mon Sep 05 14:09:04 2011 +0200 @@ -22,7 +22,7 @@ def __init__(self, parent=None, layer=None): super(NPCBehaviour, self).__init__(layer) - self.parent = Parent + self.parent = parent self.state = _AGENT_STATE_NONE self.pc = None self.target_loc = None