projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Strip underscory stuff from JSON
[naja.git]
/
naja
/
gameboard.py
diff --git
a/naja/gameboard.py
b/naja/gameboard.py
index 52d1323bd176a5cd3ca7205086b7fe44455f450f..689c3fd15fcf324d9110763331a6a0eeb93023d2 100644
(file)
--- a/
naja/gameboard.py
+++ b/
naja/gameboard.py
@@
-305,6
+305,9
@@
class LocationCard(object):
self.actions = location_actions
self.max_number = max_number
self.replacement_time = replacement_time
+ if options.debug:
+ for action in self.actions:
+ action.sanity_check(self)
@classmethod
def import_location(cls, state):