You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// if it was not our owner, reattach to them
if ( ( UnitState.ObjectID != OwnerStateObject.ObjectID ) || (OwnerStateObject.ObjectID != AttachedUnitRef.ObjectID) )
Bad. When Aid Protocol is active, and the gremlin's owner dies:
UnitState is the unit that died (owner)
OwnerStateObject is the owner
AttachedUnitRef is the unit we are attached to
Thus, the condition evaluates to (false || true), and the gremlin doesn't die. This causes major issues with enemy gremlins, as the sweep objective won't be able to complete (unless using KillAllAIs).
I meant to report this... checks Discord... fifteen months ago, but I seem to have forgotten about it. Whoops.
The text was updated successfully, but these errors were encountered:
X2WOTCCommunityHighlander/X2WOTCCommunityHighlander/Src/XComGame/Classes/XComGameState_Item.uc
Lines 477 to 502 in 50d24a1
Bad. When Aid Protocol is active, and the gremlin's owner dies:
UnitState
is the unit that died (owner)OwnerStateObject
is the ownerAttachedUnitRef
is the unit we are attached toThus, the condition evaluates to
(false || true)
, and the gremlin doesn't die. This causes major issues with enemy gremlins, as the sweep objective won't be able to complete (unless usingKillAllAIs
).I meant to report this... checks Discord... fifteen months ago, but I seem to have forgotten about it. Whoops.
The text was updated successfully, but these errors were encountered: