Mercurial > parpg-core
diff src/parpg/entities/action.py @ 197:cf6345ec8988
Small fixes.
author | KarstenBock@gmx.net |
---|---|
date | Sat, 19 Nov 2011 19:28:38 +0100 |
parents | 7e51bae477f7 |
children | c0915e63a557 |
line wrap: on
line diff
--- a/src/parpg/entities/action.py Sat Nov 19 16:12:56 2011 +0100 +++ b/src/parpg/entities/action.py Sat Nov 19 19:28:38 2011 +0100 @@ -450,11 +450,8 @@ @param commands: Special commands that are executed @type commands: Dictionary """ - self.commands = commands or () - self.controller = controller - self.model = controller.model + Action.__init__(self, controller, commands) self.script = script - self.executed = False def execute(self): self.controller.systems.scripting.runScript(self.script)