-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OVERLORDTRANSPORT not recognized #83
Comments
OVERLORD is what you want, not OVERLORDTRANSPORT, |
@vgainullin Thank you! Will try when back tonight. If I forgot to include OVERLORD, then we definitely need a different error for this. And will do haha |
To confirm |
Your code should look like this: ENEMY_DRAW_DICT = { And draw method something like this: async def intel(self) |
I receive this error:
KeyError: <UnitTypeId.OVERLORDTRANSPORT: 893>
only for this unit in unit_typeid.py
I have a dictionary of units like:
Later in a draw method, I use the unit's name to reference the size & color in my dictionary.
I only have a problem with OVERLORDTRANSPORT
ENEMY_DRAW_DICT[UnitTypeId[unit_name]][0],
=> should returns 1Would appreciate debugging/ help on this. Cheers
The text was updated successfully, but these errors were encountered: