Hardcoded classes removed #8

Merged
NikC- merged 8 commits from :zedtest4 into master 2022-01-21 20:40:09 +03:00
Showing only changes of commit 6ba3855134 - Show all commits

View File

@ -1369,7 +1369,9 @@ simulated function ApplyLaserState()
else
LaserAttachment.bHidden = false;
if (altLaserAttachment == none && altLaserAttachmentBone != '')
if (altLaserAttachment == none)
{
if (altLaserAttachmentBone != '')
{
SetBoneRotation(altLaserAttachmentBone, altLaserAttachmentRotation);
altLaserAttachment = Spawn(LaserAttachmentClass,,,,);
@ -1379,6 +1381,7 @@ simulated function ApplyLaserState()
altLaserAttachment.SetRelativeLocation(altLaserAttachmentOffset);
}
}
}
else
altLaserAttachment.bHidden = false;