mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 08:03:45 +01:00
LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects
This commit is contained in:
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());
|
||||
|
Loading…
Reference in New Issue
Block a user