sometimes bounty is nil ???
This commit is contained in:
parent
6a3445e091
commit
386170f72f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue