From: kwolekr Date: Sat, 6 Jul 2013 19:12:40 +0000 (-0400) Subject: LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects X-Git-Tag: 0.4.8~346 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=06266abd6e1326202eb221ee4a6e1be892c2fbf2;p=oweals%2Fminetest.git LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects --- diff --git a/src/script/lua_api/l_vmanip.cpp b/src/script/lua_api/l_vmanip.cpp index 50a48e89b..195682579 100644 --- a/src/script/lua_api/l_vmanip.cpp +++ b/src/script/lua_api/l_vmanip.cpp @@ -111,8 +111,6 @@ int LuaVoxelManip::l_write_to_map(lua_State *L) int LuaVoxelManip::l_update_liquids(lua_State *L) { LuaVoxelManip *o = checkobject(L, 1); - if (!o->is_mapgen_vm) - return 0; INodeDefManager *ndef = STACK_TO_SERVER(L)->getNodeDefManager(); Map *map = &(get_scriptapi(L)->getEnv()->getMap());