Skip to content
Permalink
Browse files

LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects

  • Loading branch information
kwolekr committed Jul 6, 2013
1 parent 55ecde6 commit 06266abd6e1326202eb221ee4a6e1be892c2fbf2
Showing with 0 additions and 2 deletions.
  1. +0 −2 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());

0 comments on commit 06266ab

Please sign in to comment.