Spawn Bug fixed
This commit is contained in:
1 parent
6ad91e3fdb
commit
885bd2a9e6
4 files changed
+3
-10
No files matched your search
@@ -13,10 +13,6 @@ function newStrategyPartConstructor () {
|
||||
}
|
||||
|
||||
let floatingLayer
|
||||
let spawnPosition = {
|
||||
x: canvas.floatingSpace.container.frame.width / 2,
|
||||
y: canvas.floatingSpace.container.frame.height / 2
|
||||
}
|
||||
|
||||
return thisObject
|
||||
|
||||
|
||||
@@ -189,6 +189,8 @@ const PRODUCT_CARD_STATUS = {
|
||||
OFF: 'off'
|
||||
};
|
||||
|
||||
let spawnPosition // this is used in several places.
|
||||
|
||||
/* Here we list the valid Time Periods: */
|
||||
|
||||
const PERIOD_24_HS = "24-hs";
|
||||
|
||||
@@ -17,11 +17,6 @@ function newPartsFromNodes () {
|
||||
addCode: addCode
|
||||
}
|
||||
|
||||
let spawnPosition = {
|
||||
x: canvas.floatingSpace.container.frame.width / 2,
|
||||
y: canvas.floatingSpace.container.frame.height / 2
|
||||
}
|
||||
|
||||
return thisObject
|
||||
|
||||
function createPartFromNode (node, parentNode, chainParent) {
|
||||
|
||||
@@ -29,7 +29,7 @@ function newWorkspace () {
|
||||
thisObject.container.frame.width = 0
|
||||
thisObject.container.frame.height = 0
|
||||
|
||||
let spawnPosition = {
|
||||
spawnPosition = {
|
||||
x: canvas.floatingSpace.container.frame.width / 2,
|
||||
y: canvas.floatingSpace.container.frame.height / 2
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user