mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-12 03:13:00 -04:00
Prevented a medic ability adding hate to an intangible object.
This commit is contained in:
Regular → Executable
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user