Fix set_velocity calls to item entity objs in dropper and dispenser code

This commit is contained in:
wallabra 2022-02-09 03:36:47 -03:00
parent 96b8552ae4
commit 7dbdd70784
Signed by untrusted user: Gustavo6046
GPG Key ID: 5182FABAA5E139B3
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ local dispenserdef = {
z = newv.z * shoot_force
}
dropitemobj.set_velocity(newv)
dropitemobj:set_velocity(newv)
end
end

View File

@ -148,7 +148,7 @@ local dropperdef = {
z = newv.z * shoot_force
}
dropitemobj.set_velocity(newv)
dropitemobj:set_velocity(newv)
end
end
end,