Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Players running into walls while they try to open a door causes crash #212

Open
cbcerquiaga opened this issue Aug 18, 2019 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@cbcerquiaga
Copy link
Owner

I can't recreate it consistently, but several times now, a player attempting to open a door in the exploring scene has led to an error "Attempt to call function 'has_method' in base 'null instance' on a null instance" on line 147 of the player 2 script or 143 in the player 1 script. That line reads:

if collision_objects.keys()[i].has_method('handle_collide'):

I think it has to do with colliding with the walls in the scene, and maybe with pressing the button to open doors while the game is still trying to handle the collision.

@cbcerquiaga cbcerquiaga added the bug Something isn't working label Aug 18, 2019
@cbcerquiaga cbcerquiaga added this to the Key game mechanics milestone Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants