diff options
author | kwolekr <kwolekr@minetest.net> | 2013-07-06 15:12:40 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-07-06 15:12:40 -0400 |
commit | 06266abd6e1326202eb221ee4a6e1be892c2fbf2 (patch) | |
tree | ffb00af246dd4c0092b1f7881601be33ca448e7f /src/script/lua_api/l_vmanip.cpp | |
parent | 55ecde665d62d3de152c17fa9b463735bee7d0a9 (diff) | |
download | minetest-06266abd6e1326202eb221ee4a6e1be892c2fbf2.tar.gz minetest-06266abd6e1326202eb221ee4a6e1be892c2fbf2.tar.bz2 minetest-06266abd6e1326202eb221ee4a6e1be892c2fbf2.zip |
LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects
Diffstat (limited to 'src/script/lua_api/l_vmanip.cpp')
-rw-r--r-- | src/script/lua_api/l_vmanip.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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()); |