sometimes bounty is nil ???

This commit is contained in:
Lilian Jónsdóttir 2020-08-02 15:08:00 -07:00
parent 6a3445e091
commit 386170f72f

View file

@ -45,7 +45,7 @@ local function doChecks(e)
return false
end
if tes3.mobilePlayer.bounty > 0 then
if tes3.mobilePlayer.bounty and tes3.mobilePlayer.bounty > 0 then
log("Player is wanted, ignoring combat.")
return false
end