AardCrowley / Search-and-Destroy

Safe, Legal Search and Destroy
10 stars 14 forks source link

New Epic area #86

Closed mtrp12 closed 3 years ago

mtrp12 commented 3 years ago

New epic area added and breaking SnD image

image

AardCrowley commented 3 years ago

Use the 'xset index areas' command. Need to do that when new areas are added so it can be added to the SnD database. Otherwise, how would it know one exists? I will look into a fix that doesn't present the error, though.

On Sun, Aug 15, 2021 at 11:38 PM mtrp12 @.***> wrote:

New epic area added and breaking SnD [image: image] https://user-images.githubusercontent.com/6695345/129508311-0e0306f5-50d1-41a4-b17e-e12f00a58e89.png

[image: image] https://user-images.githubusercontent.com/6695345/129508341-63daed7f-195d-4eeb-a188-fb6ffe166169.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AardCrowley/Search-and-Destroy/issues/86, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7D27XLHKY7XCKVLTUEWJ3T5CB2JANCNFSM5CG4T2WQ .

mtrp12 commented 3 years ago

i did, this error is the output of xset index areas. for now i added the area to the lookup table in the plugin and suppressed the error. image

mtrp12 commented 3 years ago

It's failing in this line. Because there's no key named transcend in the table, the noquest is accessed on a nil object. image

AardCrowley commented 3 years ago

You're right. It is trying to index a nil value, so I'll need to change that to include an 'if' statement to check if it even exists. I'll fix that now. Whoops.

AardCrowley commented 3 years ago

This has been fixed in 5.91. Thank you.