fixed timers not being reset on load (thanks abot)
This commit is contained in:
parent
fee43d102b
commit
34d29fffe2
2 changed files with 10 additions and 1 deletions
|
@ -4,7 +4,7 @@ local this = {}
|
|||
|
||||
this.modName = "More Attentive Guards" -- or something
|
||||
this.author = "Celediel"
|
||||
this.version = "1.0.2"
|
||||
this.version = "1.0.3"
|
||||
this.modInfo = [[Guards with some actual spacial awareness!
|
||||
Guards who catch you sneaking will follow you for a bit of
|
||||
time, and will also come to the player's rescue if attacked unprovoked.]]
|
||||
|
|
|
@ -159,6 +159,15 @@ this.onCalcMoveSpeed = function(e)
|
|||
end
|
||||
end
|
||||
|
||||
this.onLoaded = function(e)
|
||||
-- some clean-up
|
||||
follower = nil
|
||||
followTimer = nil
|
||||
dialogueTimer = nil
|
||||
ogPosition = nil
|
||||
isFollowing = false
|
||||
end
|
||||
|
||||
-- }}}
|
||||
|
||||
return this
|
||||
|
|
Loading…
Add table
Reference in a new issue