mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
added content error message screen on world creation
This commit is contained in:
parent
0b48a77e2d
commit
cec8d75b7d
2 changed files with 10 additions and 4 deletions
|
|
@ -14,13 +14,11 @@
|
|||
#include "../../lighting/Lighting.h"
|
||||
#include "../../logic/BlocksController.h"
|
||||
|
||||
#if (LUA_VERSION_NUM < 502)
|
||||
inline void luaL_openlib(lua_State* L, const char* name, const luaL_Reg* libfuncs, int nup) {
|
||||
lua_newtable(L);
|
||||
luaL_setfuncs(L, libfuncs, nup);
|
||||
lua_setglobal(L, name);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* == world library ==*/
|
||||
static int l_world_get_day_time(lua_State* L) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue