diff --git a/Scripts/Python/grsnNexusBookMachine.py b/Scripts/Python/grsnNexusBookMachine.py index 674f0f8293..485280f0eb 100644 --- a/Scripts/Python/grsnNexusBookMachine.py +++ b/Scripts/Python/grsnNexusBookMachine.py @@ -81,6 +81,7 @@ kElevMoving = 1 kElevUp = 2 elevatorStatus = kElevDown +serverInitDone = False class grsnNexusBookMachine(ptResponder): @@ -105,6 +106,8 @@ def GetPlayersInChatDistance(self, minPlayers=8): return plyrList def OnServerInitComplete(self): + global serverInitDone + serverInitDone = True bookPillarSpinning.run(self.key,netPropagate=False) if not PtIsSolo(): return @@ -151,6 +154,8 @@ def OnNotify(self,state,id,events): global elevatorStatus #PtDebugPrint("id ",id) + if not serverInitDone: + return avatar=PtFindAvatar(events) local = PtGetLocalAvatar()