avoiding annoyng messages
This commit is contained in:
1 parent
670827f651
commit
65f1de7041
1 file changed
+1
-1
@@ -186,7 +186,7 @@ function newFloatingObject () {
|
||||
function frozenPhysics () {
|
||||
if (thisObject.frozenManually === false) {
|
||||
let parent = thisObject.payload.chainParent
|
||||
if (parent !== undefined) {
|
||||
if (parent !== undefined && parent.payload !== undefined) {
|
||||
thisObject.isFrozen = parent.payload.floatingObject.isFrozen
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user