From 65d7db3487cc318dd764481193feb90bb6a897cd Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Tue, 7 Mar 2023 22:35:00 -0600 Subject: Use an older name for luaL_reg --- src/client/lua_api/scene/ilight.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/lua_api/scene/ilight.cpp') diff --git a/src/client/lua_api/scene/ilight.cpp b/src/client/lua_api/scene/ilight.cpp index e405443..ad3b440 100644 --- a/src/client/lua_api/scene/ilight.cpp +++ b/src/client/lua_api/scene/ilight.cpp @@ -80,7 +80,7 @@ int settype(lua_State *L){ return 0; } -static const luaL_reg ilight_m[] = { +static const luaL_Reg ilight_m[] = { {"settype", settype}, {0, 0}, }; -- cgit v1.2.3-70-g09d2