Added option check to skill tracker resetting
This commit is contained in:
parent
1621be3594
commit
a36287212e
@ -135,12 +135,16 @@ end
|
||||
function updateCounters()
|
||||
playmatApi.updateCounter("All", "ResourceCounter", 5)
|
||||
playmatApi.updateCounter("All", "ClickableClueCounter", 0)
|
||||
playmatApi.resetSkillTracker("All")
|
||||
|
||||
for i = 1, 4 do
|
||||
playmatApi.updateCounter(COLORS[i], "DamageCounter", RESET_VALUES.Damage[i])
|
||||
playmatApi.updateCounter(COLORS[i], "HorrorCounter", RESET_VALUES.Horror[i])
|
||||
end
|
||||
|
||||
-- reset skill trackers (but only if option is enabled)
|
||||
if options["tidyPlayermats"] then
|
||||
playmatApi.resetSkillTracker("All")
|
||||
end
|
||||
end
|
||||
|
||||
-- reset doom on agenda
|
||||
|
Loading…
Reference in New Issue
Block a user