hot, kinky consistency

This commit is contained in:
ThePhD 2016-03-11 11:55:34 -05:00
parent 7f7c51ae33
commit c5e637c85b

View File

@ -19,7 +19,7 @@ struct config {
int main() { int main() {
sol::state lua; sol::state lua;
config screen; config screen;
lua.open_file("config.lua"); lua.script_file("config.lua");
screen.name = lua.get<std::string>("name"); screen.name = lua.get<std::string>("name");
screen.width = lua.get<int>("width"); screen.width = lua.get<int>("width");
screen.height = lua.get<int>("height"); screen.height = lua.get<int>("height");