oops the config option had the opposite effect

This commit is contained in:
Lilian Jónsdóttir 2020-10-08 00:53:08 -07:00
parent a08cce416b
commit a3a7cea86f

View file

@ -193,7 +193,7 @@ this.processNPCs = function(cell)
local night = checks.isNight()
local badWeather = checks.isInclementWeather()
if not cell.name and config.disableNPCsInWilderness then
if not cell.name and not config.disableNPCsInWilderness then
-- shitty way of implementing this config option and enabling NPCs when it's off
-- but at least it's better than trying to keep track of NPCs that have been disabled in the wilderness
log(common.logLevels.medium, "[PROC] Shitty hack ACTIVATE! It's now not night, and the weather is great.")