updateTimer already implied, don't need check

This commit is contained in:
Lilian Jónsdóttir 2020-10-30 22:22:17 -07:00
parent 0ffdfba99c
commit 249e1125cc

View file

@ -150,7 +150,7 @@ end
eventFunctions.onLoaded = function()
tes3.player.data.NPCsGoHome = tes3.player.data.NPCsGoHome or {}
if not updateTimer or (updateTimer and updateTimer.state ~= timer.active) then
if not updateTimer or updateTimer.state ~= timer.active then
updateTimer = timer.start({
type = timer.simulate,
duration = config.timerInterval,