HUGE BUG fixed, duplicating the creation of UI Objects
This commit is contained in:
1 parent
b6ca74d433
commit
a595d3f0a8
10 files changed
+150
-895
No files matched your search
@@ -188,8 +188,12 @@ function newFloatingObject () {
|
||||
if (thisObject.frozenManually !== false) { return }
|
||||
if (thisObject.payload === undefined) { return }
|
||||
let parent = thisObject.payload.chainParent
|
||||
if (parent !== undefined && parent.payload !== undefined) {
|
||||
thisObject.isFrozen = parent.payload.floatingObject.isFrozen
|
||||
if (parent !== undefined) {
|
||||
if (parent.payload !== undefined) {
|
||||
if (parent.payload.floatingObject !== undefined) {
|
||||
thisObject.isFrozen = parent.payload.floatingObject.isFrozen
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -479,4 +483,3 @@ function newFloatingObject () {
|
||||
function updateRadius () {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user