fixed rigidbody allowSleep

This commit is contained in:
yinkaile
2017-12-12 17:32:04 +08:00
parent 6cbe191bf8
commit 8c0220fce2
+1 -1
View File
@@ -213,7 +213,7 @@ var RigidBody = cc.Class({
this._allowSleep = value;
if (this._b2Body) {
this._b2Body.SetAllowSleeping(value);
this._b2Body.SetSleepingAllowed(value);
}
}
},