From 06266abd6e1326202eb221ee4a6e1be892c2fbf2 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sat, 6 Jul 2013 15:12:40 -0400 Subject: LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects --- src/script/lua_api/l_vmanip.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/script/lua_api/l_vmanip.cpp') 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()); -- cgit v1.2.3