mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 01:45:36 +02:00
Fix segfault in deprecation logging due to tail call, log by default (#10174)
This commit is contained in:
@@ -122,7 +122,6 @@ void LuaPerlinNoise::Register(lua_State *L)
|
||||
|
||||
lua_pop(L, 1);
|
||||
|
||||
markAliasDeprecated(methods);
|
||||
luaL_openlib(L, 0, methods, 0);
|
||||
lua_pop(L, 1);
|
||||
|
||||
@@ -381,7 +380,6 @@ void LuaPerlinNoiseMap::Register(lua_State *L)
|
||||
|
||||
lua_pop(L, 1);
|
||||
|
||||
markAliasDeprecated(methods);
|
||||
luaL_openlib(L, 0, methods, 0);
|
||||
lua_pop(L, 1);
|
||||
|
||||
|
Reference in New Issue
Block a user