changeset 439:400d68993977

Become uninvisible when interacting when actionables.
author Simon Cross <hodgestar@gmail.com>
date Sat, 09 Apr 2011 19:28:50 +0200
parents 8ee16cec0f9f
children ae0c67788f96
files skaapsteker/sprites/player.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/skaapsteker/sprites/player.py	Sat Apr 09 19:24:40 2011 +0200
+++ b/skaapsteker/sprites/player.py	Sat Apr 09 19:28:50 2011 +0200
@@ -336,8 +336,8 @@
     def action_down(self):
         if self.flying:
             return
-            #self.deltav((0.0, self.terminal_velocity[1] / 2.0))
         elif self._touching_actionables:
+            self.invisible = 0
             self._touching_actionables[0].player_action(self)
         elif self._me.item is not None and self.on_solid:
             self.drop_item()