From 60799450bfa638218a5abb9b5601ec3775147478 Mon Sep 17 00:00:00 2001
From: MeLike2D <ml2dofficial@gmail.com>
Date: Tue, 13 Apr 2021 21:05:29 -0700
Subject: [PATCH] :bug: idk

---
 .../src/main/kotlin/obsidian/server/player/PlayerUpdates.kt   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Server/src/main/kotlin/obsidian/server/player/PlayerUpdates.kt b/Server/src/main/kotlin/obsidian/server/player/PlayerUpdates.kt
index d33266a..ffbd2db 100644
--- a/Server/src/main/kotlin/obsidian/server/player/PlayerUpdates.kt
+++ b/Server/src/main/kotlin/obsidian/server/player/PlayerUpdates.kt
@@ -35,11 +35,11 @@ class PlayerUpdates(val link: Link) : AudioEventAdapter() {
    */
   var enabled: Boolean = true
     set(value) {
+      field = value
+
       link.client.launch {
         if (value) start() else stop()
       }
-
-      field = value
     }
 
   /**