Do not reset item obj velocity upon leaving waterflow

This commit is contained in:
wallabra 2022-02-09 04:01:18 -03:00
parent 991eeca033
commit 49d5e1a0f6
Signed by untrusted user: Gustavo6046
GPG Key ID: 5182FABAA5E139B3
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ minetest.register_entity(":__builtin:item", {
elseif self._flowing == true then
-- Disable flowing physics if not on/in flowing liquid
self._flowing = false
enable_physics(self.object, self, true)
--enable_physics(self.object, self, true) -- do not reset velocity upon leaving water!
return
end