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 1 changed file with 0 additions and 2 deletions.
@@ -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.