# HG changeset patch # User KarstenBock@gmx.net # Date 1315223787 -7200 # Node ID 097cceb06b92a9e5f5aec11ed3a20062b2de7c1d # Parent b60461cb84646ecec87b402b8acc929569f39cdf Changed parameters for NPCBehaviour to lower case diff -r b60461cb8464 -r 097cceb06b92 src/parpg/behaviours/npc.py --- a/src/parpg/behaviours/npc.py Mon Sep 05 13:15:18 2011 +0200 +++ b/src/parpg/behaviours/npc.py Mon Sep 05 13:56:27 2011 +0200 @@ -19,8 +19,8 @@ class NPCBehaviour(BaseBehaviour): """This is a basic NPC behaviour""" - def __init__(self, Parent=None, Layer=None): - super(NPCBehaviour, self).__init__(Layer) + def __init__(self, parent=None, layer=None): + super(NPCBehaviour, self).__init__(layer) self.parent = Parent self.state = _AGENT_STATE_NONE