Spawn Improvements and Mass Adjustments

This commit is contained in:
Luis Fernando Molina committed 2019-07-04 19:48:14 +02:00
1 parent e8b572ba6f
commit 2a44fcc5b3
3 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -364,8 +364,8 @@ function newFloatingObject () {
if (thisObject.payload.position === undefined) {
position = {
x: Math.floor((Math.random() * (1000) - 500)) + arroundPoint.x,
y: Math.floor((Math.random() * (1000) - 500)) + arroundPoint.y
x: Math.floor((Math.random() * (200) - 100)) + arroundPoint.x,
y: Math.floor((Math.random() * (200) - 100)) + arroundPoint.y
}
} else {
position = {