mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-17 00:05:07 -05:00
Update combat_ship_player.java
This commit is contained in:
@@ -2991,7 +2991,7 @@ public class combat_ship_player extends script.base_script
|
||||
if (objChipsToRemove != null)
|
||||
{
|
||||
for (obj_id anObjChipsToRemove : objChipsToRemove) {
|
||||
if(hasObjVar(anObjChipsToRemove, "strDroidCommand"))
|
||||
if(utils.isNestedWithin(anObjChipsToRemove, self) && hasObjVar(anObjChipsToRemove, "strDroidCommand"))
|
||||
{
|
||||
space_combat.destroyObject(anObjChipsToRemove);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user