Skip to content

Commit 9de3ed6

Browse files
author
yorickvanpelt
committed
- Fix: stats weren't updated with encoded grfids and short gameinfo
1 parent ab4615f commit 9de3ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ottd_lib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def getGameInfo(self, encode_grfs=False, short=False):
334334
LOG.debug("unable to receive UDP packet")
335335
return None
336336
size, command, content = result
337-
return self.processGameInfoResponse(size, command, content)
337+
return self.processGameInfoResponse(size, command, content, encode_grfs, short)
338338
def processGameInfoResponse(self, size, command, content, encode_grfs=False, short=False):
339339
p = DataPacket(size, command, content)
340340

0 commit comments

Comments
 (0)