|
Post by Chronicman on Dec 13, 2016 0:59:58 GMT
In the vObjectDamage script line 82,
// if targets has 0 targets it will return null, thus will cause an error. (continuousDamage && tags.Contains(hit.transform.tag) && !targets.Contains(hit)) { targets.Add(hit); }
fix: if (continuousDamage && tags.Contains(hit.transform.tag) && targets != null ? !targets.Contains(hit): false) { targets.Add(hit); }
|
|
|
Post by Invector on Dec 16, 2016 15:49:48 GMT
|
|
|
Post by Chronicman on Dec 16, 2016 16:32:58 GMT
My pleasure.=)
|
|