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
-
I'm relatively new to this library but I think I may have found a small issue: in the
TargetUnitCommandEvent
class definition, there is a field calledtarget_unit
that apparently stores a reference to the unit being targeted. However, in theContextLoader
class, in thehandleTargetUnitCommandEvent
method, it puts a reference to the target unit into thetarget
field. 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