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:
parent
7f73dfeb24
commit
d67ec24884
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue