X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fgameboard.py;h=689c3fd15fcf324d9110763331a6a0eeb93023d2;hb=8598915c56882240cebef4a68fde0fb9a37a1fe7;hp=52d1323bd176a5cd3ca7205086b7fe44455f450f;hpb=e6c9584589c3e3565be85f9b0f0eb5923a394a86;p=naja.git diff --git a/naja/gameboard.py b/naja/gameboard.py index 52d1323..689c3fd 100644 --- 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):