dont add 0 points
This commit is contained in:
@@ -280,6 +280,9 @@ class PlayerState:
|
|||||||
self.replayBall = True
|
self.replayBall = True
|
||||||
|
|
||||||
def addPoints(self, points):
|
def addPoints(self, points):
|
||||||
|
if points == 0:
|
||||||
|
return
|
||||||
|
|
||||||
if not self.isActive:
|
if not self.isActive:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user