Rename script_file to open_file

This commit is contained in:
Rapptz 2013-12-12 05:31:35 -05:00
parent c241a3df92
commit 9f36db8148

View File

@ -121,7 +121,7 @@ public:
}
}
void script_file(const std::string& filename) {
void open_file(const std::string& filename) {
if (luaL_dofile(L.get(), filename.c_str())) {
lua_error(L.get());
}