Skip to content

Commit

Permalink
move no arbitration into onServerInitComplete()
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazado committed Dec 1, 2023
1 parent 3f581d5 commit 9f872d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Scripts/Python/xHighLevelStarTrekDoor.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def __init__(self):
PtDebugPrint("DEBUG: xHighLevelStarTrekDoor.__init__: v. %d" % self.version)

self.DoorEnabled = 1
rgnSensor.volumeSensorNoArbitration(True)

##########################################
def OnServerInitComplete(self):
Expand Down Expand Up @@ -123,6 +122,8 @@ def OnServerInitComplete(self):
self.SDL['DoorState'] = (doorSDLstates.closed,)
ageSDL[strDoorClosedVar.value] = (1,)

rgnSensor.volumeSensorNoArbitration(True)

##########################################
def OnSDLNotify(self,VARname,SDLname,playerID,tag):
ageSDL = PtGetAgeSDL()
Expand Down

0 comments on commit 9f872d0

Please sign in to comment.