Actually preserve custom physics parameters.
commit04dc57066ea8f4669d8af9054739a8d80e6f71fa
authorAuke Kok <sofar@foo-projects.org>
Sat, 31 Aug 2019 00:14:52 +0000 (30 17:14 -0700)
committerAuke Kok <sofar@foo-projects.org>
Sat, 31 Aug 2019 00:29:20 +0000 (30 17:29 -0700)
tree21495759c358a84ac6410893fa35e28bfc4fc676
parentc93f8402e5ee7d621189417876fc52fce9f04c1c
Actually preserve custom physics parameters.

Using the inspector, I found that the teleport-into-box code
overwrites and deletes the gravity and speed values for each
player. This was never intentional.

This fixes that problem. However, that means that my physics estimates
are completely off and I will need to redo the custom physics
values to match the expectations on the server and to make
sure this doesn't massively nerf those values.

oops :(
mods/boxes/init.lua