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
Builtin cleanup, part 1 (game). #1341
Conversation
This all looks good. +1 |
Our official line length limit is 90 characters, and tabs are officially 8-space width. |
tab width is not specified ;-) can this be rebased to 0.4.10? |
c7b9cf1
to
c24e075
Compare
73b8c08
to
56195dc
Compare
4689856
to
5a9e696
Compare
048078d
to
bb05c8e
Compare
{x=-1,y=0,z=0}, | ||
{x=0,y=0,z=1}, | ||
{x=0,y=0,z=-1}, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be moved above so that the tables are generated only on init. Or you can put the pos in here and avoid creating a separate table below. I'd use the first option though because it can be short-circuited.
Also, is there a reason that (0, 0, 0)
isn't tried?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah good catch!
I'll move the table outside of the function.
I see no reason why it doesn't try (0, 0, 0) first. Guess it was a small mistake on part of the implementor.
e75b994
to
d58ceaa
Compare
8de1826
to
c2f3e43
Compare
c2f3e43
to
201f422
Compare
Will redo it later bit by bit. |
This does several things: