Prevented a medic ability adding hate to an intangible object.

This commit is contained in:
Cekis
2018-03-23 15:59:40 -07:00
committed by CekisSWG
parent 6c04023df4
commit 4467ebda10
+1 -1
View File
@@ -804,7 +804,7 @@ public class healing extends script.base_script
hateValue *= hateMod;
for (int i = 0; i < hateList.length; i++)
{
if (!isIdValid(hateList[i]))
if (!isIdValid(hateList[i]) || !isTangible(hateList[i]))
{
continue;
}