Workaround for missing speed in GAME_SPEED_FACTOR#102
Workaround for missing speed in GAME_SPEED_FACTOR#102StoicLoofah merged 5 commits intoggtracker:upstreamfrom
Conversation
StoicLoofah
left a comment
There was a problem hiding this comment.
Thanks for looking at this! I have to admit that I'm not really familiar with real_length, but looking at the speed factors, which can be fractional, it seems like floats can certainly exist here
sc2reader/sc2reader/constants.py
Line 51 in c019743
|
So you want me to default to 0.6 instead of 1? |
|
Sorry for being unclear: I missed actual question in the context =P Why did you decide to use integer division instead of regular division? I'm not really sure how real/important the fractional parts are |
|
The current code wraps the calculation in int() and this PR uses // because |
|
OH! I missed that If you revert that, I will approve and merge. Thanks (and apologies) for bearing with me! |
|
#102 (review) So you want to default to faster, not normal? |
|
Yes, let's default to faster. It will at least be ocrrect for alphastar and is the de facto default these for LotV ladder, right? |
|
Thanks! |
Fixes #101