Problem with floating objects appearing anywhere solved
This commit is contained in:
1 parent
d0b54b6e31
commit
7673864efd
4 files changed
+15
-18
No files matched your search
@@ -31,9 +31,9 @@ function newStrategyPartConstructor () {
|
||||
|
||||
function createStrategyPart (payload) {
|
||||
let floatingObject = newFloatingObject()
|
||||
floatingObject.container.connectToParent(canvas.floatingSpace.container, false, false, false, false, false, false, false, false)
|
||||
floatingObject.initialize('Strategy Part', payload)
|
||||
payload.floatingObject = floatingObject
|
||||
floatingObject.container.connectToParent(canvas.floatingSpace.container, false, false, false, false, false, false, false, false)
|
||||
|
||||
let strategyPart = newStrategyPart()
|
||||
strategyPart.initialize(payload)
|
||||
|
||||
Reference in new issue
Block a user