LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects

This commit is contained in:
kwolekr 2013-07-06 15:12:40 -04:00
parent 55ecde665d
commit 06266abd6e

@ -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());