Skip to content

Commit

Permalink
Scamp vendor nil check, lol
Browse files Browse the repository at this point in the history
  • Loading branch information
tewlwolow committed Sep 17, 2023
1 parent 2d595b5 commit cc3a380
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ local function handleServiceGreet(e, voiceData, flag, closeButtonName, playMysti
end

local npcId = tes3ui.getServiceActor(e)
if not (npcId) or (npcId and not npcId.race) then return end
local raceId = npcId.object.race.id
local raceLet = raceNames[raceId]
local sexLet = npcId.object.female and "f" or "m"
Expand Down

0 comments on commit cc3a380

Please sign in to comment.
  翻译: