formatting

This commit is contained in:
Lilian Jónsdóttir 2020-10-05 00:52:22 -07:00
parent 53a13aac3a
commit 5c50b86f54

View file

@ -302,8 +302,12 @@ this.isIgnoredDoor = function(door, homeCellId)
dest.id, this.isIgnoredCell(dest) and "ignored" or "not ignored", -- destination is ignored
inCity and "" or "not ", leadsToPublicCell and "" or "not ", hasOccupants and "" or "un") -- in a city, is public, is ocupado
return
this.isIgnoredCell(dest) or not this.isInteriorCell(dest) or isCantonWorks or not inCity or leadsToPublicCell or
-- LuaFormatter off
return this.isIgnoredCell(dest) or
not this.isInteriorCell(dest) or
isCantonWorks or
not inCity or
leadsToPublicCell or
not hasOccupants
end
@ -314,6 +318,7 @@ this.isNight = function()
tes3.worldController.hour.value, atNight and "" or "not ", config.closeTime, config.openTime)
return atNight
-- LuaFormatter on
end
-- inclement weather