mirror of
https://github.com/maride/barf.git
synced 2024-12-22 22:47:30 +00:00
Fix crash if no win address is given
This commit is contained in:
parent
783cd4c64b
commit
2b2e2dde62
@ -45,5 +45,6 @@ class BreakpointManager:
|
|||||||
return score
|
return score
|
||||||
|
|
||||||
def HitWin(self):
|
def HitWin(self):
|
||||||
return self.winB.GetScore() != 0
|
if self.winB:
|
||||||
|
return self.winB.GetScore() != 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user