Skip to content

Commit

Permalink
Merge branch 'master' of github.com:altf4/libmelee
Browse files Browse the repository at this point in the history
  • Loading branch information
altf4 committed Mar 3, 2024
2 parents 748c4f0 + c98c26b commit 4f53fde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions melee/slpfilestreamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def __init__(self, path):
self.timestamp = ""
self.consoleNick = ""
self.players = {}
self.lastFrame = -9999

def shutdown(self):
pass
Expand Down Expand Up @@ -107,4 +108,8 @@ def connect(self):
self.players = full["metadata"]["players"]
except KeyError:
pass
try:
self.lastFrame = full["metadata"]["lastFrame"]
except KeyError:
pass
return True

0 comments on commit 4f53fde

Please sign in to comment.