Rearrange ping functions
This commit is contained in:
parent
74c47bb8dc
commit
99d8a96af4
14
script.lua
14
script.lua
@ -175,13 +175,6 @@ end
|
||||
function ping.setSnoring(state)
|
||||
snore_enabled=state
|
||||
end
|
||||
-- }}}
|
||||
|
||||
function syncState()
|
||||
ping.setArmor(armor_enabled)
|
||||
ping.setVanilla(vanilla_enabled)
|
||||
ping.setSnoring(snore_enabled)
|
||||
end
|
||||
|
||||
--- Toggle Vanilla ---
|
||||
function setVanilla(state)
|
||||
@ -204,6 +197,13 @@ function ping.setVanilla(state)
|
||||
end
|
||||
end
|
||||
|
||||
function syncState()
|
||||
ping.setArmor(armor_enabled)
|
||||
ping.setVanilla(vanilla_enabled)
|
||||
ping.setSnoring(snore_enabled)
|
||||
end
|
||||
-- }}}
|
||||
|
||||
-- Timer (not mine lol) -- {{{
|
||||
do
|
||||
local timers = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user