fix(security_robot): never target anything that is not the player #58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "noahg/fix-prevent-security-bot-from-targetting-anything-other-than-player"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This fixes a crash caused by objects other than the player being targeted by the security bot because they are in the wrong collision layer and get set as the security bot's target. The crash happens in
lose_sight.gddue to an invalid cast. See screenshot.Looks good, this seems to fix the issue on my end!
58a71b8c81to2ad9a127be