Skip to content

Commit

Permalink
fix: SVOF should now correctly have two events to set server side `mo…
Browse files Browse the repository at this point in the history
…sshealth` and `mossmana` (#830)
  • Loading branch information
veles-achaea committed May 24, 2024
1 parent 815bc6a commit e42b1d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion svo (custom prompt, serverside).xml
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,7 @@ signals["svo config changed"]:connect(function(config)
svo.sendcuring("manathreshold "..conf.manause)
end
end, 'update serverside prios on config change')

signals["svo config changed"]:connect(function(config)
if not (conf.serverside and config == 'healthaffsabove') then return end

Expand All @@ -1380,7 +1381,7 @@ for _, optionname in ipairs({'mosshealth', 'mossmana'}) do
end

svo.sendcuring(optionname .." "..option)
end, 'update serverside moss')
end, 'update serverside ' .. optionname)
end

-- vconfig moss
Expand Down

0 comments on commit e42b1d4

Please sign in to comment.