a
This commit is contained in:
parent
d697163803
commit
6ba3855134
@ -1369,14 +1369,17 @@ simulated function ApplyLaserState()
|
||||
else
|
||||
LaserAttachment.bHidden = false;
|
||||
|
||||
if (altLaserAttachment == none && altLaserAttachmentBone != '')
|
||||
if (altLaserAttachment == none)
|
||||
{
|
||||
SetBoneRotation(altLaserAttachmentBone, altLaserAttachmentRotation);
|
||||
altLaserAttachment = Spawn(LaserAttachmentClass,,,,);
|
||||
if (altLaserAttachment != none)
|
||||
if (altLaserAttachmentBone != '')
|
||||
{
|
||||
AttachToBone(altLaserAttachment, altLaserAttachmentBone);
|
||||
altLaserAttachment.SetRelativeLocation(altLaserAttachmentOffset);
|
||||
SetBoneRotation(altLaserAttachmentBone, altLaserAttachmentRotation);
|
||||
altLaserAttachment = Spawn(LaserAttachmentClass,,,,);
|
||||
if (altLaserAttachment != none)
|
||||
{
|
||||
AttachToBone(altLaserAttachment, altLaserAttachmentBone);
|
||||
altLaserAttachment.SetRelativeLocation(altLaserAttachmentOffset);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user