Darren Ranalli преди 22 години
родител
ревизия
3d45ead3eb
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      direct/src/fsm/FourState.py

+ 4 - 0
direct/src/fsm/FourState.py

@@ -146,6 +146,10 @@ class FourState:
     
     def exitState0(self):
         assert(self.debugPrint("exit0()"))
+        # It's important for FourStates to broadcast their state
+        # when they are generated on the client. Before I put this in,
+        # if a door was generated and went directly to an 'open' state,
+        # it would not broadcast its state until it closed.
         self.changedOnState(0)
     
     ##### state 1 #####