Some cleanups. (might break build for scripts as they are a WIP)
This commit is contained in:
@@ -16,12 +16,12 @@ namespace Game.Movement
|
||||
if (unit == _target)
|
||||
return;
|
||||
|
||||
if (_target)
|
||||
if (_target != null)
|
||||
_target.FollowerRemoved(this);
|
||||
|
||||
_target = unit;
|
||||
|
||||
if (_target)
|
||||
if (_target != null)
|
||||
_target.FollowerAdded(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user