TargetUnitCommandEvent.target_unit vs target? #147
zimri-leisher
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm relatively new to this library but I think I may have found a small issue: in the
TargetUnitCommandEventclass definition, there is a field calledtarget_unitthat apparently stores a reference to the unit being targeted. However, in theContextLoaderclass, in thehandleTargetUnitCommandEventmethod, it puts a reference to the target unit into thetargetfield. This caused a small issue for me before I figured it out, and I know it's not a big deal, but I figured I'd better post here.Beta Was this translation helpful? Give feedback.
All reactions