Check triggering ref type in TrapBear

This commit is contained in:
Eddoursul 2024-02-18 08:56:34 +01:00
parent 800e77ab6b
commit bca900a356
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -92,7 +92,7 @@ event OnActivate(objectReference TriggerRef)
endEvent
Bool function checkPerks(objectReference triggerRef)
if checkForLightFootPerk
if checkForLightFootPerk && triggerRef as actor
; ;debug.Trace(self + " is checking if " + triggerRef + " has LightFoot Perk")
if (triggerRef as actor).hasPerk(LightFoot)
; ;debug.Trace(self + " has found that " + triggerRef + " has LightFoot Perk")