Fix crash if no win address is given

This commit is contained in:
maride 2021-06-17 17:20:12 +02:00
parent 783cd4c64b
commit 2b2e2dde62

View File

@ -45,5 +45,6 @@ class BreakpointManager:
return score return score
def HitWin(self): def HitWin(self):
if self.winB:
return self.winB.GetScore() != 0 return self.winB.GetScore() != 0