Make projectiles not hit crit mobs unless clicked on (#27905)
This commit is contained in:
@@ -136,6 +136,7 @@ public abstract partial class SharedGunSystem : EntitySystem
|
||||
return;
|
||||
|
||||
gun.ShootCoordinates = GetCoordinates(msg.Coordinates);
|
||||
gun.Target = GetEntity(msg.Target);
|
||||
AttemptShoot(user.Value, ent, gun);
|
||||
}
|
||||
|
||||
@@ -196,6 +197,7 @@ public abstract partial class SharedGunSystem : EntitySystem
|
||||
|
||||
gun.ShotCounter = 0;
|
||||
gun.ShootCoordinates = null;
|
||||
gun.Target = null;
|
||||
Dirty(uid, gun);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user