1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-02 12:33:52 +00:00

Fix Joint:getType returning nil for DistanceJoints;

This commit is contained in:
bjorn 2018-01-09 19:41:56 -08:00
parent 7f73dfeb24
commit d67ec24884

View file

@ -20,6 +20,7 @@ int l_lovrPhysicsInit(lua_State* L) {
map_init(&JointTypes);
map_set(&JointTypes, "ball", JOINT_BALL);
map_set(&JointTypes, "distance", JOINT_DISTANCE);
map_set(&JointTypes, "hinge", JOINT_HINGE);
map_set(&JointTypes, "slider", JOINT_SLIDER);