dont add 0 points

This commit is contained in:
Jonas Zeunert
2022-06-07 01:06:36 +02:00
parent 17027e9411
commit bbba1bf025

View File

@@ -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