fix(security_robot): never target anything that is not the player #58

Merged
xury merged 1 commit from noahg/fix-prevent-security-bot-from-targetting-anything-other-than-player into dev 2026-04-07 18:46:53 +00:00
Member

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.gd due to an invalid cast. See screenshot.

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.gd` due to an invalid cast. See screenshot.
noahg self-assigned this 2026-04-07 07:04:45 +00:00
xury approved these changes 2026-04-07 17:56:59 +00:00
xury left a comment

Looks good, this seems to fix the issue on my end!

Looks good, this seems to fix the issue on my end!
xury force-pushed noahg/fix-prevent-security-bot-from-targetting-anything-other-than-player from 58a71b8c81 to 2ad9a127be 2026-04-07 18:46:40 +00:00 Compare
xury merged commit 1fd23c0ad4 into dev 2026-04-07 18:46:53 +00:00
xury deleted branch noahg/fix-prevent-security-bot-from-targetting-anything-other-than-player 2026-04-07 18:46:54 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BUGJam/pounce-game!58
No description provided.