Darren Ranalli 22 lat temu
rodzic
commit
815d15ee4b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      direct/src/level/VisibilityBlocker.py

+ 1 - 1
direct/src/level/VisibilityBlocker.py

@@ -21,7 +21,7 @@ class VisibilityBlocker:
         """derived class should call this before the end of the frame in which
         they cause the visibility to be extended. okToUnblockVis (see below)
         will be called when it's safe to show the new zones."""
-        self.accept(self.level.tcr.getNextSetZoneDoneEvent(),
+        self.accept(self.level.cr.getNextSetZoneDoneEvent(),
                     self.okToUnblockVis)
 
     def okToUnblockVis(self):