1ForeverHD / ZonePlus

Construct dynamic zones that utilise region checking, raycasting and the new BasePart.CanTouch property to effectively determine players and parts within their boundaries.
https://devforum.roblox.com/t/zone/1017701
MIT License
74 stars 115 forks source link

Fix race condition within Tracker #42

Open 1ForeverHD opened 2 years ago

1ForeverHD commented 2 years ago

A race condition between AncestryChanged and a new replacement Head being swapped in on the same frame.

To fix, change line 208 from self:update() to task.defer(self.update, self).