From c5e637c85bd336b90e0656d7f6b11ead2f8b71bd Mon Sep 17 00:00:00 2001 From: ThePhD Date: Fri, 11 Mar 2016 11:55:34 -0500 Subject: [PATCH] hot, kinky consistency --- examples/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/config.cpp b/examples/config.cpp index 9ab7a8e3..6b9929ac 100644 --- a/examples/config.cpp +++ b/examples/config.cpp @@ -19,7 +19,7 @@ struct config { int main() { sol::state lua; config screen; - lua.open_file("config.lua"); + lua.script_file("config.lua"); screen.name = lua.get("name"); screen.width = lua.get("width"); screen.height = lua.get("height");