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

Prevent error from trying to remote view as god. #28

Closed
wants to merge 1 commit into from

Conversation

narc0tiq
Copy link
Owner

@narc0tiq narc0tiq commented Mar 6, 2016

As per the reference: https://forums.factorio.com/viewtopic.php?p=131915#p131915, it is perfectly feasible for the player character to be nil.

The right thing happens anyway, but let's avoid raising an error now that we're expecting it. It would be nice if we could support that properly, but that's an entirely different enhancement.

As per the reference:
<https://forums.factorio.com/viewtopic.php?p=131915#p131915>, it is
perfectly feasible for the player character to be nil.

The right thing happens anyway, but let's avoid raising an error now
that we're expecting it. It would be nice if we could support that
properly, but that's an entirely different enhancement.
@narc0tiq
Copy link
Owner Author

Actually, as per #30, the error is correct in as much as we're really not handling the god controller and we should be.

@narc0tiq narc0tiq closed this Mar 18, 2016
@narc0tiq narc0tiq deleted the no-nil-player-characters branch June 10, 2016 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant