Merge pull request #209 from Sakimori/indev

anticrime
This commit is contained in:
Sakimori 2021-02-24 19:12:13 -05:00 committed by GitHub
commit 919357c3bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -627,6 +627,7 @@ class game(object):
self.inning += 1
if self.inning > self.max_innings and self.teams["home"].score != self.teams["away"].score: #game over
self.over = True
if self.max_innings >= 9:
db.save_obl_results(self.teams["home"] if self.teams["home"].score > self.teams["away"].score else self.teams["away"], self.teams["home"] if self.teams["home"].score < self.teams["away"].score else self.teams["away"])