Commit c908f621 authored by Ralf's avatar Ralf
Browse files

fix conny's brackets

parent 438bcf07
...@@ -75,7 +75,7 @@ class Player(Thing): ...@@ -75,7 +75,7 @@ class Player(Thing):
if thing != self and isinstance(thing, Player): if thing != self and isinstance(thing, Player):
playerToPush = thing playerToPush = thing
self.send("After coming out of the wall with incredible speed, you hit another player, who is in turn pushed away by your momentum. Poor bastard...") self.send("After coming out of the wall with incredible speed, you hit another player, who is in turn pushed away by your momentum. Poor bastard...")
self.game.labyrinth.moveThing(self,pushTarget,(lambda:playerToPush.pushAway(self) if playerToPush else None)) self.game.labyrinth.moveThing(self,pushTarget,(lambda:playerToPush.pushAway(self)) if playerToPush else None)
# high(er)-level functions # high(er)-level functions
def readCmd(self, cmd): def readCmd(self, cmd):
...@@ -104,7 +104,7 @@ class Player(Thing): ...@@ -104,7 +104,7 @@ class Player(Thing):
playerToPush = thing playerToPush = thing
self.send("By moving to the "+direction[0]+" you pushed another player away.") self.send("By moving to the "+direction[0]+" you pushed another player away.")
self.game.labyrinth.moveThing(self, target, (lambda:playerToPush.pushAway(self,direction[0]) if playerToPush else None)) self.game.labyrinth.moveThing(self, target, (lambda:playerToPush.pushAway(self,direction[0])) if playerToPush else None)
elif verb in sayVerbs: elif verb in sayVerbs:
msg = " ".join(words[1:]) msg = " ".join(words[1:])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment