X-Git-Url: https://git.ctpug.org.za/?p=naja.git;a=blobdiff_plain;f=naja%2Fgameboard.py;h=689c3fd15fcf324d9110763331a6a0eeb93023d2;hp=52d1323bd176a5cd3ca7205086b7fe44455f450f;hb=21decfd74a4f550f4758d8583620110baee72aed;hpb=4e9c82b88ace9e6b817e89337041194fca51811a 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):