-
Notifications
You must be signed in to change notification settings - Fork 377
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
Make conf.lua more configuration-like #40
Labels
feature
New feature or request
Comments
Original comment by Robin Wellner (Bitbucket: gvx, GitHub: gvx). So, here is a patch, to show how easy it would be:
The second change could even be left alone if you want. Also, this doesn't check for errors in loading conf.lua, but then again, the previous version doesn't either. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original report by Robin Wellner (Bitbucket: gvx, GitHub: gvx).
The current syntax for conf.lua seems a bit over the top:
Wouldn't it be better (considering Lua's origins as a configuration language, to make t the environment for conf.lua, so one can use:
It also makes it a bit easier to generate a write-dir version of conf.lua, so users can change the default resolution in-game, etc.
I'll write a patch for this if necessary.
The text was updated successfully, but these errors were encountered: