﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
6265	Formation.js this.offsets is undefined but has no reason	Silier		"ERROR: JavaScript error: simulation/components/Formation.js line 531 this.offsets is undefined \\
Formation.prototype.MoveMembersIntoFormation@simulation/components/Formation.js:531:18 \\
Formation.prototype.RemoveMembers@simulation/components/Formation.js:400:7 \\
Formation.prototype.OnGlobalOwnershipChanged@simulation/components/Formation.js:960:8\\

\\
ERROR: Script message handler OnGlobalOwnershipChanged failed\\


Strange about this complain is existing if above
{{{
if (!this.offsets)
{
  this.offsets = this.ComputeFormationOffsets(active, positions);
  offsetsChanged = true;
}
}}}

`ComputeFormationOffsets` goes like this
{{{
...
let newOffsets = [];
...
return newOffsets;
}}}

There is no early return inside `ComputeFormationOffsets` which would return `undefined`.

There is also no code between those lines which would be able to set `this.offsets` to `undefined`"	defect	new	Must Have	Alpha 26	Simulation				
