logs
This commit is contained in:
@@ -2,7 +2,7 @@ from threading import Timer
|
||||
from utils.RepeatTimer import RepeatTimer
|
||||
import time
|
||||
import random
|
||||
|
||||
import logging
|
||||
import config
|
||||
|
||||
from lamps.Lamp import Lamp
|
||||
@@ -246,12 +246,14 @@ class PlayerState:
|
||||
pass
|
||||
|
||||
def startUpperPlayfieldTimer(self):
|
||||
logging.info("Started Upper Playfield Timer")
|
||||
self.upperPlayfieldTimer = Timer(1, self.updatePlayfieldTime)
|
||||
|
||||
def updatePlayfieldTime(self):
|
||||
if self.upperPlayfieldTime == 0:
|
||||
self.upperPlayfieldTimer = None
|
||||
LeaveUpperPlayfieldEvent(self)
|
||||
logging.info("Stopped Upper Playfield Timer")
|
||||
return
|
||||
|
||||
if self.upperPlayfieldTime in [0, 5, 10, 20]:
|
||||
|
||||
Reference in New Issue
Block a user