Closed halworsen closed 9 years ago
We'll work on a fix for this. Thanks Ate.
RJ, can you take a look at this?
I can. Atebite if you're still here, can you tell me the map/location where this occurred so I can recreate it?
Somewhere on rp_industrial17_v1. Just look at the code and you should understand the issue.
ents.FindInSphere finds the worldspawn or some other entity before it finds the door and parents to that instead.
Ye, I recall seeing that in the loading function before.
Thanks, I'll work on it ASAP.
Thanks Atebite, this has been fixed now.
See sv_schema.lua, line 354.
When combine locks are loaded, they may be parented to a non-door entity (e.g. if ents.FindInSphere finds a map entity first). This breaks the lock's functionality on the door and it'll appear somewhere that likely isn't on the door.
Can be fixed with a simple entity class whitelist for the results of ents.FindInSphere.