From 99d8a96af45b47ebbd2ff1fe23bb02f964ca5793 Mon Sep 17 00:00:00 2001 From: NullBite Date: Sun, 20 Mar 2022 21:39:32 -0400 Subject: [PATCH] Rearrange ping functions --- script.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/script.lua b/script.lua index 8e57cc8..910f1d9 100644 --- a/script.lua +++ b/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 = {}