Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix resupply anim continuing if docked actor dies during resupply #16788
The problem is that activities tick before traits. Example:
So during Tick 100 ResupplyTick would still tell the host that the resupplying actor is alive, while during Tick 101 ResupplyTick won't even tick anymore and therefore not be able to tell the host that the actor died.
I guess I could cache the actor being repaired if that's what you meant, but then I'd have to add a null check to prevent crashes and null the cache when it dies, which doesn't sound much cleaner to me.