projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow shift location action to move the whole row.
[naja.git]
/
naja
/
actions.py
diff --git
a/naja/actions.py
b/naja/actions.py
index 0baba3a34acbeb6158d04ff36d94abf8d6a87f7f..431b126829a1d48b401fdb5e3e288c5406a9a0dc 100644
(file)
--- a/
naja/actions.py
+++ b/
naja/actions.py
@@
-293,7
+293,9
@@
class ShiftLocations(LocationAction):
def perform_action(self, board, location):
sound.play_sound('grind.ogg')
- board.shift_locations(self.data['direction'])
+ board.shift_locations(
+ self.data['direction'],
+ self.data.get('skip_player', False))
class RotateLocations(LocationAction):