Skip to content

Commit

Permalink
Revert InitialEnabled change and utilize RunService:IsRunning()
Browse files Browse the repository at this point in the history
  • Loading branch information
DervexDev committed Nov 20, 2024
1 parent cb64961 commit 8749bb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/.src.server.luau
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
--!strict
local RunService = game:GetService("RunService")

if RunService:IsRunning() then
return
end

local Config = require(script.Config)
local Log = require(script.Log)
local App = require(script.App)
Expand Down
1 change: 0 additions & 1 deletion src/App/.src.luau
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ function App.new()
Widget {
Name = "Argon",
MinimumSize = peek(self.rootSize),
InitialEnabled = false,
Enabled = isOpen,

[OnChange "Enabled"] = function(isEnabled)
Expand Down

0 comments on commit 8749bb7

Please sign in to comment.